fix WorkModeling

This commit is contained in:
DavidMakarov 2024-05-03 12:50:47 +04:00
parent b92c24b8d3
commit 19e238d2cc

View File

@ -89,6 +89,7 @@ namespace FlowerShopBusinessLogic.BusinessLogics
{ {
Id = Order.Id Id = Order.Id
}); });
Thread.Sleep(Implementer.Qualification * _rnd.Next(10, 100));
} }
catch (InvalidOperationException ex) catch (InvalidOperationException ex)
@ -101,8 +102,6 @@ namespace FlowerShopBusinessLogic.BusinessLogics
_logger.LogError(ex, "Error while do work"); _logger.LogError(ex, "Error while do work");
throw; throw;
} }
Thread.Sleep(Implementer.Qualification * _rnd.Next(10, 100));
} }
}); });
} }