Drop IgnoreInCalculation property
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-06-22 11:07:02 +02:00
parent 69bc76cab4
commit c58f6fe364
12 changed files with 179 additions and 30 deletions

View File

@@ -17,7 +17,6 @@ public static class GetConsumptions
DateTimeOffset DateTime,
double Distance,
double Amount,
bool IgnoreInCalculation,
Guid CarId);
public class Request
@@ -43,7 +42,7 @@ public static class GetConsumptions
List<ResponseDto> consumptions = await dbContext.Consumptions
.OrderByDescending(x => x.DateTime)
.Select(x =>
new ResponseDto(x.Id.Value, x.DateTime, x.Distance, x.Amount, x.IgnoreInCalculation, x.CarId.Value))
new ResponseDto(x.Id.Value, x.DateTime, x.Distance, x.Amount, x.CarId.Value))
.ToListAsync(cancellationToken);
ApiResponse apiResponse = new()