сдана
This commit is contained in:
parent
d8f19d8b42
commit
ba2ed3bc51
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user