Final
This commit is contained in:
parent
f8255473e5
commit
c86a2f8c3c
@ -72,7 +72,7 @@ namespace PizzeriaBusinessLogic.BusinessLogics
|
||||
_orderLogic.TakeOrderInWork(new OrderBindingModel
|
||||
{
|
||||
Id = order.Id,
|
||||
// ImplementerId = implementer.Id
|
||||
ImplementerId = implementer.Id
|
||||
});
|
||||
// делаем работу
|
||||
Thread.Sleep(implementer.WorkExperience * _rnd.Next(100, 1000) * order.Count);
|
||||
@ -114,8 +114,8 @@ namespace PizzeriaBusinessLogic.BusinessLogics
|
||||
{
|
||||
var runOrder = await Task.Run(() => _orderLogic.ReadElement(new OrderSearchModel
|
||||
{
|
||||
// ImplementerId = implementer.Id,
|
||||
// Status = OrderStatus.Выполняется
|
||||
ImplementerId = implementer.Id,
|
||||
Status = OrderStatus.Выполняется
|
||||
}));
|
||||
if (runOrder == null)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user