исправила немножк
This commit is contained in:
parent
f6063af1b2
commit
6a1e7adc40
@ -20,7 +20,7 @@ namespace AircraftPlantDatabaseImplement.Implements
|
||||
|
||||
public List<OrderViewModel> GetFilteredList(OrderSearchModel model)
|
||||
{
|
||||
if (!model.Id.HasValue && !model.DateFrom.HasValue)
|
||||
if (!model.Id.HasValue && (!model.DateFrom.HasValue || !model.DateTo.HasValue))
|
||||
{
|
||||
return new();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user