From 69d4fd07ee2d26eb1df3b9b7c971f2b1ea813234 Mon Sep 17 00:00:00 2001 From: Zakharov_Rostislav Date: Fri, 24 May 2024 22:48:16 +0400 Subject: [PATCH] lab-6-hard preparing for pr --- .../BusinessLogics/OrderLogic.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BlacksmithWorkshop/BlacksmithWorkshopBusinessLogic/BusinessLogics/OrderLogic.cs b/BlacksmithWorkshop/BlacksmithWorkshopBusinessLogic/BusinessLogics/OrderLogic.cs index fb6ecfb..f0c7a01 100644 --- a/BlacksmithWorkshop/BlacksmithWorkshopBusinessLogic/BusinessLogics/OrderLogic.cs +++ b/BlacksmithWorkshop/BlacksmithWorkshopBusinessLogic/BusinessLogics/OrderLogic.cs @@ -95,7 +95,7 @@ namespace BlacksmithWorkshopBusinessLogic.BusinessLogics _logger.LogWarning("Status update to " + status.ToString() + " operation failed. Document not found."); return false; } - if (CheckSupply(manufacture, element.Count) == false) + if (!CheckSupply(manufacture, element.Count)) { _logger.LogWarning("Status update to " + status.ToString() + " operation failed. Shop supply error."); status = OrderStatus.Ожидает;