mirror of
https://github.com/XFox111/MuiCharts.git
synced 2026-04-22 06:51:05 +03:00
Minor fixes and refactoring
This commit is contained in:
@@ -103,9 +103,10 @@ public class PointsController(
|
||||
|
||||
PointResponse[] points = [
|
||||
.. query
|
||||
.Skip((request.Page - 1) * request.Count)
|
||||
.Take(request.Count)
|
||||
.Select(point => MapPointResponse(point))
|
||||
.OrderBy(i => i.Id)
|
||||
.Skip((request.Page - 1) * request.Count)
|
||||
.Take(request.Count)
|
||||
.Select(point => MapPointResponse(point))
|
||||
];
|
||||
|
||||
GetPointsResponse response = new(
|
||||
|
||||
Reference in New Issue
Block a user