public StockItemVerifier(IStockItemsService service) : base("stock_item", "stock item") { _service = service; }
public StockItemsController(IBusPublisher busPublisher, IStockItemsService stockItemsService, IPointOfSaleAuthorizationLoader posAuthLoader) : base(busPublisher) { _stockItemsService = stockItemsService ?? throw new ArgumentNullException(nameof(stockItemsService)); _posAuthLoader = posAuthLoader ?? throw new ArgumentNullException(nameof(posAuthLoader)); }
public CodeScanner(IStockItemsService stockItemsService) { _stockItemsService = stockItemsService; }
public StockItemAuthorizationLoader(IStockItemsService stockItemsService, IPointOfSaleAuthorizationLoader posAuthLoader) { _stockItemsService = stockItemsService ?? throw new ArgumentNullException(nameof(stockItemsService)); _posAuthLoader = posAuthLoader ?? throw new ArgumentNullException(nameof(posAuthLoader)); }