PIbd-21. Makarov D.V. Lab work 06. Hard #15
@ -89,7 +89,8 @@ namespace FlowerShopBusinessLogic.BusinessLogics
|
||||
{
|
||||
Id = Order.Id
|
||||
});
|
||||
}
|
||||
Thread.Sleep(Implementer.Qualification * _rnd.Next(10, 100));
|
||||
}
|
||||
|
||||
catch (InvalidOperationException ex)
|
||||
{
|
||||
@ -101,8 +102,6 @@ namespace FlowerShopBusinessLogic.BusinessLogics
|
||||
_logger.LogError(ex, "Error while do work");
|
||||
throw;
|
||||
}
|
||||
|
||||
Thread.Sleep(Implementer.Qualification * _rnd.Next(10, 100));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user