public PaymentController(
     IRepository <DomainModel.Aggregates.Payments.Aggregates.Payment> paymentRepository,
     IContext context,
     IRepository <Factor> factorRepository,
     IFcmNotification fcmNotification, IPercentDiscountDomainService percentDiscountDomainService, IFactorDomainService factorDomainService, IPersonDomainService personDomainService, IPromoterDomainService promoterDomainService)
 {
     _paymentRepository            = paymentRepository;
     _context                      = context;
     _factorRepository             = factorRepository;
     _fcmNotification              = fcmNotification;
     _percentDiscountDomainService = percentDiscountDomainService;
     _factorDomainService          = factorDomainService;
     _personDomainService          = personDomainService;
     _promoterDomainService        = promoterDomainService;
 }
Exemple #2
0
 public PromoterCommandHandler(IRepository <Promoter> repository, IPromoterDomainService promoterDomainService, ISeqRepository seqRepository)
 {
     _repository            = repository;
     _promoterDomainService = promoterDomainService;
     _seqRepository         = seqRepository;
 }