готово

This commit is contained in:
evasina2312@gmail.com 2023-05-10 11:12:51 +04:00
parent 603bd39185
commit 9c2b9a111d

View File

@ -17,8 +17,7 @@ namespace ComputersShopBusinessLogic
_logger = logger;
_rnd = new Random(1000);
}
public void DoWork(IImplementerLogic implementerLogic, IOrderLogic
orderLogic)
public void DoWork(IImplementerLogic implementerLogic, IOrderLogic orderLogic)
{
_orderLogic = orderLogic;
var implementers = implementerLogic.ReadList(null);
@ -29,8 +28,7 @@ namespace ComputersShopBusinessLogic
}
var orders = _orderLogic.ReadList(new OrderSearchModel
{
Status =
OrderStatus.Принят
Status = OrderStatus.Принят
});
if (orders == null || orders.Count == 0)
{