ПИбд-23 Яшин Артем Александрович Лабораторная работа №7 усложненная #16

Closed
Artyom_Yashin wants to merge 8 commits from Lab7-hard into Lab6-hard
Showing only changes of commit 30c7a00d37 - Show all commits

View File

@ -29,7 +29,8 @@ namespace ComputersShopDatabaseImplement.Implements
(!model.Id.HasValue || x.Id == model.Id) &&
(!model.DateFrom.HasValue || x.DateCreate >= model.DateFrom) &&
(!model.DateTo.HasValue || x.DateCreate <= model.DateTo) &&
(!model.ClientId.HasValue || x.ClientId == model.ClientId)
(!model.ClientId.HasValue || x.ClientId == model.ClientId) &&
(!model.Status.HasValue || x.Status == model.Status)
)
)
.Select(x => x.GetViewModel)