Emelyanov A.S. LabWork_4 #4

Closed
Emelyanov535 wants to merge 3 commits from LabWork_04 into LabWork_03
Showing only changes of commit e10d56311b - Show all commits

View File

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