Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 public PointOfSaleAuthorizationLoader(IPointsOfSaleService pointsOfSaleService, IPosAgAuthorizationLoader posAgAuthLoader)
 {
     _pointsOfSaleService = pointsOfSaleService ?? throw new ArgumentNullException(nameof(pointsOfSaleService));
     _posAgAuthLoader     = posAgAuthLoader;
 }