public BasketController(IUnitOfWork unitOfWork, IAddStockToBasket addProductToBasket, ICountOrderPrice countOrderPrice, ITransferStockToStockOnHold transferStockToStockOnHold, IDeleteStockFromBasket deleteStockFromBasket, ISynchronizeBasket synchronizeBasket, ITransferStockOnHoldWhenExpire transferStockOnHoldWhenExpire) { _unitOfWork = unitOfWork; _addStockToBasket = addProductToBasket; _countOrderPrice = countOrderPrice; _transferStockToStockOnHold = transferStockToStockOnHold; _deleteStockFromBasket = deleteStockFromBasket; _synchronizeBasket = synchronizeBasket; _transferStockOnHoldWhenExpire = transferStockOnHoldWhenExpire; }
public TransferStockOnHoldWhenExpireFilter(ITransferStockOnHoldWhenExpire transferStockOnHoldWhenExpire, ILogger <TransferStockOnHoldWhenExpireFilter> logger) { _transferStockOnHoldWhenExpire = transferStockOnHoldWhenExpire; _logger = logger; }