From 9b9945840d2bf0157b4fa7bc2bc11f0e06ae3852 Mon Sep 17 00:00:00 2001 From: Timourka Date: Sun, 5 May 2024 17:59:03 +0400 Subject: [PATCH] =?UTF-8?q?LC7=20=D0=B1=D0=B0=D0=B7=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AutomobilePlantBusinessLogic/BusinessLogics/OrderLogic.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/AutomobilePlant/AutomobilePlantBusinessLogic/BusinessLogics/OrderLogic.cs b/AutomobilePlant/AutomobilePlantBusinessLogic/BusinessLogics/OrderLogic.cs index 2906b2a..0fbd6f9 100644 --- a/AutomobilePlant/AutomobilePlantBusinessLogic/BusinessLogics/OrderLogic.cs +++ b/AutomobilePlant/AutomobilePlantBusinessLogic/BusinessLogics/OrderLogic.cs @@ -194,7 +194,6 @@ namespace AutomobilePlantBusinessLogic.BusinessLogics var result = _orderStorage.Update(model); if (result == null) { - model.Status = oldStatus; _logger.LogWarning("Update operation failed"); return false; }