From 5f806089ccf317e5f833cef78c05b5a8c2c9984a Mon Sep 17 00:00:00 2001 From: m1aksim1 Date: Wed, 10 May 2023 09:48:39 +0400 Subject: [PATCH] =?UTF-8?q?=D0=BA=D0=B0=D0=BA=D0=BE=D0=B9=20=D1=83=D0=B6?= =?UTF-8?q?=D0=B0=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SoftwareInstallationBusinessLogic/OrderLogic.cs | 1 + 1 file changed, 1 insertion(+) 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)