diff --git a/SoftwareInstallation/SoftwareInstallationBusinessLogic/OrderLogic.cs b/SoftwareInstallation/SoftwareInstallationBusinessLogic/OrderLogic.cs index 73c16b9..a210601 100644 --- a/SoftwareInstallation/SoftwareInstallationBusinessLogic/OrderLogic.cs +++ b/SoftwareInstallation/SoftwareInstallationBusinessLogic/OrderLogic.cs @@ -94,6 +94,7 @@ namespace SoftwareInstallationBusinessLogic.BusinessLogics public bool TakeOrderInWork(OrderBindingModel model) { + if(_finished) return false; return SetOrderStatus(model, OrderStatus.Выполняется); } private bool CheckModel(OrderBindingModel model)