PIbd-21. Razubaev SM Lab work 6 hard #14
@ -37,11 +37,6 @@ namespace PlumbingRepairDatabaseImplement.Implements
|
||||
|
||||
public List<OrderViewModel> GetFilteredList(OrderSearchModel model)
|
||||
{
|
||||
|
||||
if (!model.Id.HasValue && !model.DateFrom.HasValue && !model.DateTo.HasValue && !model.ClientId.HasValue)
|
||||
{
|
||||
return new();
|
||||
}
|
||||
using var context = new PlumbingRepairDatabase();
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user