From cffa0b1ef6eba447726607b4a4d73b9d7694e02b Mon Sep 17 00:00:00 2001 From: kamilia Date: Wed, 24 Apr 2024 08:40:12 +0400 Subject: [PATCH] =?UTF-8?q?=D1=8D=D1=82=D1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AircraftPlant/AircraftPlantBusinessLogic/OrderLogic.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/AircraftPlant/AircraftPlantBusinessLogic/OrderLogic.cs b/AircraftPlant/AircraftPlantBusinessLogic/OrderLogic.cs index eb94058..2ebbd1c 100644 --- a/AircraftPlant/AircraftPlantBusinessLogic/OrderLogic.cs +++ b/AircraftPlant/AircraftPlantBusinessLogic/OrderLogic.cs @@ -17,10 +17,16 @@ namespace AircraftPlantBusinessLogic.BusinessLogics { private readonly ILogger _logger; private readonly IOrderStorage _orderStorage; - public OrderLogic(ILogger logger, IOrderStorage orderStorage) + private IShopStorage _shopStorage; + private IShopLogic _shopLogic; + private IPlaneStorage _planeStorage; + public OrderLogic(ILogger logger, IOrderStorage orderStorage, IShopStorage shopStorage, IShopLogic shopLogic, IPlaneStorage planeStorage) { _logger = logger; _orderStorage = orderStorage; + _shopStorage = shopStorage; + _shopLogic = shopLogic; + _planeStorage = planeStorage; } public List? ReadList(OrderSearchModel? model) {