public PrivateOrderCommandHandler(IRepository <Person> personRepository,
                                   IFcmNotification fcmNotification,
                                   IRepository <ApplicationSetting> applicationSettingRepository,
                                   IOrderDomainService orderDomainService,
                                   IFactorDomainService factorDomainService,
                                   IRepository <Product> productRepository,
                                   IPercentDiscountDomainService percentDiscountDomainService,
                                   IApplicationSettingDomainService applicationSettingDomainService,
                                   IRepository <PrivateOrder> privateOrderRepository,
                                   IContext context, IRepository <AreaOrder> areaRepository,
                                   IRepository <OrderBase> orderRepository)
 {
     _personRepository                = personRepository;
     _fcmNotification                 = fcmNotification;
     _applicationSettingRepository    = applicationSettingRepository;
     _orderDomainService              = orderDomainService;
     _factorDomainService             = factorDomainService;
     _productRepository               = productRepository;
     _percentDiscountDomainService    = percentDiscountDomainService;
     _applicationSettingDomainService = applicationSettingDomainService;
     _privateOrderRepository          = privateOrderRepository;
     _context         = context;
     _areaRepository  = areaRepository;
     _orderRepository = orderRepository;
 }
 public PercentDiscountDomainService(IRepository <PercentDiscount> percentRepository, IRepository <Factor> factorRepository, IRepository <Product> productRepository, IFactorDomainService factorDomainService, IRepository <OrderBase> orderRepository, IRepository <DiscountBase> repository)
 {
     _percentRepository   = percentRepository;
     _factorRepository    = factorRepository;
     _productRepository   = productRepository;
     _factorDomainService = factorDomainService;
     _orderRepository     = orderRepository;
     _repository          = repository;
 }
 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;
 }
Example #4
0
 public FactorEventHandler(IRepository <Factor> repository, IFactorDomainService factorDomainService)
 {
     _repository          = repository;
     _factorDomainService = factorDomainService;
 }