public PointsOfSaleController(IBusPublisher busPublisher, IPointsOfSaleService pointsOfSaleService, IPointOfSaleAuthorizationLoader authLoader, IAccountingGroupAuthorizationLoader accGroupAuthLoader, IIdentityService idService) : base(busPublisher)
 {
     _pointsOfSaleService = pointsOfSaleService ?? throw new ArgumentNullException(nameof(pointsOfSaleService));
     _authLoader          = authLoader ?? throw new ArgumentNullException(nameof(authLoader));
     _accGroupAuthLoader  = accGroupAuthLoader ?? throw new ArgumentNullException(nameof(accGroupAuthLoader));
     _idService           = idService ?? throw new ArgumentNullException(nameof(idService));
 }
Exemple #2
0
 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 StockItemAuthorizationLoader(IStockItemsService stockItemsService, IPointOfSaleAuthorizationLoader posAuthLoader)
 {
     _stockItemsService = stockItemsService ?? throw new ArgumentNullException(nameof(stockItemsService));
     _posAuthLoader     = posAuthLoader ?? throw new ArgumentNullException(nameof(posAuthLoader));
 }
Exemple #4
0
 public OffersController(IBusPublisher busPublisher, IOffersService offersService, IPointOfSaleAuthorizationLoader posAuthLoader)
     : base(busPublisher)
 {
     _offersService = offersService ?? throw new ArgumentNullException(nameof(offersService));
     _posAuthLoader = posAuthLoader ?? throw new ArgumentNullException(nameof(posAuthLoader));
 }
 public AssignmentsToPointOfSaleController(IBusPublisher busPublisher, IIdentityService identityService, IPointOfSaleAuthorizationLoader posAuthLoader) : base(busPublisher)
 {
     _identityService = identityService ?? throw new ArgumentNullException(nameof(identityService));
     _posAuthLoader   = posAuthLoader ?? throw new ArgumentNullException(nameof(posAuthLoader));
 }