From b489c4725173ac302bcb5e084884acc43ccf5c8a Mon Sep 17 00:00:00 2001 From: Inohara Date: Sun, 9 Apr 2023 14:50:08 +0400 Subject: [PATCH] update --- IceCreamShop/IceCreamBusinessLogic/BusinessLogics/OrderLogic.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IceCreamShop/IceCreamBusinessLogic/BusinessLogics/OrderLogic.cs b/IceCreamShop/IceCreamBusinessLogic/BusinessLogics/OrderLogic.cs index ef9485d..5c3e941 100644 --- a/IceCreamShop/IceCreamBusinessLogic/BusinessLogics/OrderLogic.cs +++ b/IceCreamShop/IceCreamBusinessLogic/BusinessLogics/OrderLogic.cs @@ -131,7 +131,7 @@ namespace IceCreamBusinessLogic.BusinessLogics } model.Status = newStatus; if (model.Status == OrderStatus.Выдан) model.DateImplement = DateTime.Now; - if (_orderStorage. (model) == null) + if (_orderStorage.Update(model) == null) { model.Status--; _logger.LogWarning("Update operation failed");