public SalesController(IBusPublisher busPublisher, IAccountingService accountingService, IPointsOfSaleService pointsOfSaleService, IPosAgAuthorizationLoader posAgAuthorizationLoader, IAccountingGroupAuthorizationLoader agAuthLoader) : base(busPublisher) { _accountingService = accountingService ?? throw new ArgumentNullException(nameof(accountingService)); _pointsOfSaleService = pointsOfSaleService ?? throw new ArgumentNullException(nameof(pointsOfSaleService)); _posAgAuthorizationLoader = posAgAuthorizationLoader; _agAuthLoader = agAuthLoader; }
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)); }
public AccountingGroupsController(IBusPublisher busPublisher, IAccountingGroupsService accountingGroupsService, IAccountingGroupAuthorizationLoader authLoader) : base(busPublisher) { _accountingGroupsService = accountingGroupsService ?? throw new ArgumentNullException(nameof(accountingGroupsService)); _authLoader = authLoader ?? throw new ArgumentNullException(nameof(authLoader)); }
public PosAgAuthorizationLoader(IPointsOfSaleService posService, IAccountingGroupAuthorizationLoader agAuthLoader) { _posService = posService ?? throw new ArgumentNullException(nameof(posService)); _agAuthLoader = agAuthLoader ?? throw new ArgumentNullException(nameof(agAuthLoader)); }