6 лабораторная

This commit is contained in:
sardq 2024-04-19 18:01:42 +04:00
parent 5a26a8c9ab
commit 144782f58a

View File

@ -37,11 +37,6 @@ namespace PlumbingRepairDatabaseImplement.Implements
public List<OrderViewModel> GetFilteredList(OrderSearchModel model) 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(); using var context = new PlumbingRepairDatabase();