Мегаправки

This commit is contained in:
Artyom_Yashin 2024-05-08 15:41:08 +04:00
parent 32901b70d5
commit 30c7a00d37

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)