корректировка логики отчета

This commit is contained in:
Мк Игорь 2023-04-08 19:28:01 +04:00
parent c622bfa3e6
commit b439a33cd2

View File

@ -46,8 +46,6 @@ namespace CarServiceDatabase.Implements
} }
using var context = new CarServiceDbContext(); using var context = new CarServiceDbContext();
return context.WorkPayments return context.WorkPayments
.Include(wp => wp.WorkInRequest)
.ThenInclude(wir => wir.Work)
.Include(wp => wp.WorkInRequest) .Include(wp => wp.WorkInRequest)
.ThenInclude(wir => wir.RepairRequest) .ThenInclude(wir => wir.RepairRequest)
.ThenInclude(rr => rr.Vehicle) .ThenInclude(rr => rr.Vehicle)