From f8255473e504d6758bf4abc7f90ba5f72a01f3c3 Mon Sep 17 00:00:00 2001 From: shadowik Date: Tue, 18 Apr 2023 12:29:54 +0400 Subject: [PATCH] Fix --- Pizzeria/PizzeriaBusinessLogic/BusinessLogics/WorkModeling.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Pizzeria/PizzeriaBusinessLogic/BusinessLogics/WorkModeling.cs b/Pizzeria/PizzeriaBusinessLogic/BusinessLogics/WorkModeling.cs index 3f46dff..3cf5b4e 100644 --- a/Pizzeria/PizzeriaBusinessLogic/BusinessLogics/WorkModeling.cs +++ b/Pizzeria/PizzeriaBusinessLogic/BusinessLogics/WorkModeling.cs @@ -3,6 +3,7 @@ using PizzeriaContracts.BindingModels; using PizzeriaContracts.BusinessLogicsContracts; using PizzeriaContracts.SearchModels; using PizzeriaContracts.ViewModels; +using PizzeriaDataModels.Enums; using System; using System.Collections.Generic; using System.Linq; @@ -34,7 +35,7 @@ namespace PizzeriaBusinessLogic.BusinessLogics _logger.LogWarning("DoWork. Implementers is null"); return; } - var orders = _orderLogic.ReadList(new OrderSearchModel { /*Status = OrderStatus.Принят*/ }); + var orders = _orderLogic.ReadList(new OrderSearchModel { Status = OrderStatus.Принят }); if (orders == null || orders.Count == 0) { _logger.LogWarning("DoWork. Orders is null or empty");