готово
This commit is contained in:
parent
603bd39185
commit
9c2b9a111d
@ -17,8 +17,7 @@ namespace ComputersShopBusinessLogic
|
|||||||
_logger = logger;
|
_logger = logger;
|
||||||
_rnd = new Random(1000);
|
_rnd = new Random(1000);
|
||||||
}
|
}
|
||||||
public void DoWork(IImplementerLogic implementerLogic, IOrderLogic
|
public void DoWork(IImplementerLogic implementerLogic, IOrderLogic orderLogic)
|
||||||
orderLogic)
|
|
||||||
{
|
{
|
||||||
_orderLogic = orderLogic;
|
_orderLogic = orderLogic;
|
||||||
var implementers = implementerLogic.ReadList(null);
|
var implementers = implementerLogic.ReadList(null);
|
||||||
@ -29,8 +28,7 @@ namespace ComputersShopBusinessLogic
|
|||||||
}
|
}
|
||||||
var orders = _orderLogic.ReadList(new OrderSearchModel
|
var orders = _orderLogic.ReadList(new OrderSearchModel
|
||||||
{
|
{
|
||||||
Status =
|
Status = OrderStatus.Принят
|
||||||
OrderStatus.Принят
|
|
||||||
});
|
});
|
||||||
if (orders == null || orders.Count == 0)
|
if (orders == null || orders.Count == 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user