зафиксировать
This commit is contained in:
parent
ecada87dee
commit
3d93a5ecd7
@ -61,6 +61,7 @@ namespace BlacksmithWorkshopBusinessLogic.BusinessLogics
|
||||
try
|
||||
{
|
||||
_logger.LogDebug("DoWork. Worker {Id} try get order { Order}", implementer.Id, order.Id);
|
||||
|
||||
// пытаемся назначить заказ на исполнителя
|
||||
_orderLogic.TakeOrderInWork(new OrderBindingModel
|
||||
{
|
||||
@ -70,6 +71,7 @@ namespace BlacksmithWorkshopBusinessLogic.BusinessLogics
|
||||
// делаем работу
|
||||
Thread.Sleep(implementer.WorkExperience * _rnd.Next(100, 1000) * order.Count);
|
||||
_logger.LogDebug("DoWork. Worker {Id} finish order { Order}", implementer.Id, order.Id);
|
||||
|
||||
_orderLogic.FinishOrder(new OrderBindingModel
|
||||
{
|
||||
Id = order.Id
|
||||
|
Loading…
Reference in New Issue
Block a user