@@ -54,17 +54,27 @@ private async Task<List<OilConsumptionSummary>> GetOilConsumptionSummariesAsync(
54
54
{
55
55
return new List < OilConsumptionSummary > ( )
56
56
{
57
- new OilConsumptionSummary ( "September" , 50 , 40 , 35 , 40 , 50 ) ,
58
- new OilConsumptionSummary ( "October" , 25 , 67 , 65 , 15 , 32 ) ,
59
- new OilConsumptionSummary ( "November" , 30 , 20 , 35 , 45 , 12 ) ,
60
- new OilConsumptionSummary ( "December" , 45 , 17 , 45 , 55 , 70 ) ,
57
+ new OilConsumptionSummary ( "January" , 110 , 105 , 80 , 75 , 40 ) ,
58
+ new OilConsumptionSummary ( "February" , 115 , 110 , 78 , 73 , 35 ) ,
59
+ new OilConsumptionSummary ( "March" , 120 , 115 , 85 , 80 , 50 ) ,
60
+ new OilConsumptionSummary ( "April" , 105 , 100 , 70 , 65 , 30 ) ,
61
+ new OilConsumptionSummary ( "May" , 130 , 125 , 75 , 70 , 45 ) ,
62
+ new OilConsumptionSummary ( "June" , 100 , 95 , 82 , 77 , 38 ) ,
63
+ new OilConsumptionSummary ( "July" , 125 , 120 , 90 , 85 , 55 ) ,
64
+ new OilConsumptionSummary ( "August" , 110 , 108 , 78 , 73 , 42 ) ,
65
+ new OilConsumptionSummary ( "September" , 115 , 112 , 88 , 83 , 50 ) ,
66
+ new OilConsumptionSummary ( "October" , 105 , 102 , 72 , 68 , 33 ) ,
67
+ new OilConsumptionSummary ( "November" , 130 , 128 , 80 , 75 , 48 ) ,
68
+ new OilConsumptionSummary ( "December" , 100 , 98 , 74 , 70 , 36 ) ,
69
+
61
70
} ;
62
71
}
63
72
64
73
private async Task < List < CheckPointSummary > > GetCheckPointsSummariesAsync ( )
65
74
{
66
75
var checkPoints = await _context . CheckPoints
67
- . Where ( x => x . StartDate . Day == DateTime . UtcNow . Day )
76
+ . OrderByDescending ( x => x . Id )
77
+ . Where ( x => x . Status == CheckPointStatus . InProgress )
68
78
. Select ( x => new CheckPointSummary (
69
79
x . Id ,
70
80
x . StartDate ,
0 commit comments