конец

This commit is contained in:
frog24 2024-04-07 21:19:31 +04:00
parent 287c6a9d58
commit 21716c00ee

View File

@ -25,7 +25,7 @@ namespace ComputersShopDatabaseImplements.Implements
} }
public List<OrderViewModel> GetFiltredList(OrderSearchModel model) public List<OrderViewModel> GetFiltredList(OrderSearchModel model)
{ {
if (!model.DateFrom.HasValue || !model.DateTo.HasValue) if (!model.DateFrom.HasValue && !model.DateTo.HasValue && !model.Id.HasValue)
{ {
return new(); return new();
} }