diff --git a/ComputersShop/ComputersShopBusinessLogic/BusinessLogics/OrderLogic.cs b/ComputersShop/ComputersShopBusinessLogic/BusinessLogics/OrderLogic.cs index 7042ec4..d7a165e 100644 --- a/ComputersShop/ComputersShopBusinessLogic/BusinessLogics/OrderLogic.cs +++ b/ComputersShop/ComputersShopBusinessLogic/BusinessLogics/OrderLogic.cs @@ -23,7 +23,6 @@ namespace ComputersShopBusinessLogic.BusinessLogics _logger = logger; _orderStorage = orderStorage; _shopStorage = shopStorage; - _logger = logger; _shopLogic = shopLogic; _computerStorage = computerStorage; } @@ -155,7 +154,7 @@ namespace ComputersShopBusinessLogic.BusinessLogics if (CheckSupply(computer, element.Count) == false) { _logger.LogWarning("Status update to " + status.ToString() + " operation failed. Shop supply error."); - status = OrderStatus.Ожидает; + status = OrderStatus.Ожидает; } } model.Status = status;