сдана

This commit is contained in:
VictoriaPresnyakova 2023-04-01 19:38:33 +04:00
parent d8f19d8b42
commit ba2ed3bc51

View File

@ -51,7 +51,7 @@ namespace JewelryStoreListImplement.Implements
public List<OrderViewModel> GetFilteredList(OrderSearchModel model)
{
var result = new List<OrderViewModel>();
if (model == null)
if (!model.DateFrom.HasValue || !model.DateTo.HasValue)
{
return result;
}