правочки
This commit is contained in:
@@ -44,7 +44,6 @@ namespace ServiceStationDatabaseImplement.Implements
|
||||
.Include(x => x.Repair)
|
||||
.Include(x => x.Executor)
|
||||
.Where(x => x.ExecutorId == model.ExecutorId)
|
||||
.ToList()
|
||||
.Select(x => x.GetViewModel)
|
||||
.ToList();
|
||||
}
|
||||
@@ -56,7 +55,6 @@ namespace ServiceStationDatabaseImplement.Implements
|
||||
.Include(x => x.Repair)
|
||||
.Include(x => x.Executor)
|
||||
.Where(x => x.DefectType == model.DefectType)
|
||||
.ToList()
|
||||
.Select(x => x.GetViewModel)
|
||||
.ToList();
|
||||
}
|
||||
|
||||
@@ -24,7 +24,6 @@ namespace ServiceStationDatabaseImplement.Implements
|
||||
.ThenInclude(x => x.CarDefects)
|
||||
.ThenInclude(x => x.Defect)
|
||||
.Include(x => x.Executor)
|
||||
.ToList()
|
||||
.Select(x => x.GetViewModel)
|
||||
.ToList();
|
||||
}
|
||||
@@ -58,7 +57,6 @@ namespace ServiceStationDatabaseImplement.Implements
|
||||
.ThenInclude(x => x.Defect)
|
||||
.Include(x => x.Executor)
|
||||
.Where(x => x.ExecutorId == model.ExecutorId)
|
||||
.ToList()
|
||||
.Select(x => x.GetViewModel)
|
||||
.ToList();
|
||||
}
|
||||
@@ -69,7 +67,6 @@ namespace ServiceStationDatabaseImplement.Implements
|
||||
.ThenInclude(x => x.Defect)
|
||||
.Include(x => x.Executor)
|
||||
.Where(x => x.WorkType.Contains(model.WorkType))
|
||||
.ToList()
|
||||
.Select(x => x.GetViewModel)
|
||||
.ToList();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user