PIbd-22. Safiulova K.N. LabWork_02_hard #10

Closed
safiulova.k wants to merge 10 commits from LabWork_02_hard into LabWork_02
Showing only changes of commit cffa0b1ef6 - Show all commits

View File

@ -17,10 +17,16 @@ namespace AircraftPlantBusinessLogic.BusinessLogics
{
private readonly ILogger _logger;
private readonly IOrderStorage _orderStorage;
public OrderLogic(ILogger<OrderLogic> logger, IOrderStorage orderStorage)
private IShopStorage _shopStorage;
private IShopLogic _shopLogic;
private IPlaneStorage _planeStorage;
public OrderLogic(ILogger<OrderLogic> logger, IOrderStorage orderStorage, IShopStorage shopStorage, IShopLogic shopLogic, IPlaneStorage planeStorage)
{
_logger = logger;
_orderStorage = orderStorage;
_shopStorage = shopStorage;
_shopLogic = shopLogic;
_planeStorage = planeStorage;
}
public List<OrderViewModel>? ReadList(OrderSearchModel? model)
{