конец
This commit is contained in:
parent
287c6a9d58
commit
21716c00ee
@ -25,7 +25,7 @@ namespace ComputersShopDatabaseImplements.Implements
|
||||
}
|
||||
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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user