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;
 }
Exemplo n.º 2
0
 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;
 }
Exemplo n.º 3
0
 public OrderSuggestionCommandHandler(IRepository <OrderBase> orderRepository,
                                      IRepository <Person> personRepository,
                                      IRepository <Product> productRepository,
                                      IRepository <OrderSuggestion> repository,
                                      IFcmNotification fcmNotification,
                                      IRepository <ApplicationSetting> applicationSettingRepository,
                                      ISeqRepository seqRepository,
                                      IApplicationSettingDomainService applicationSettingDomainService,
                                      IOrderDomainService orderDomainService)
 {
     _personRepository                = personRepository;
     _productRepository               = productRepository;
     _repository                      = repository;
     _fcmNotification                 = fcmNotification;
     _applicationSettingRepository    = applicationSettingRepository;
     _seqRepository                   = seqRepository;
     _applicationSettingDomainService = applicationSettingDomainService;
     _orderDomainService              = orderDomainService;
     _orderRepository                 = orderRepository;
 }
Exemplo n.º 4
0
 public ShopCommandHandler(IRepository <City> cityRepository,
                           IRepository <Shop> repository,
                           IPersonDomainService personDomainService,
                           IFcmNotification fcmNotification,
                           IRepository <ApplicationSetting> applicationSettingRepository,
                           IRepository <Marketer> marketerRepository,
                           IMarketerDomainService marketerDomainService,
                           ISeqRepository seqRepository,
                           IRepository <Province> provinceRepository,
                           IBus eventBus,
                           IContext context)
 {
     _repository                   = repository;
     _personDomainService          = personDomainService;
     _fcmNotification              = fcmNotification;
     _applicationSettingRepository = applicationSettingRepository;
     _marketerRepository           = marketerRepository;
     _marketerDomainService        = marketerDomainService;
     _seqRepository                = seqRepository;
     _provinceRepository           = provinceRepository;
     _eventBus       = eventBus;
     _context        = context;
     _cityRepository = cityRepository;
 }
Exemplo n.º 5
0
 public PrivateMessageCommandHandler(IRepository <PrivateMeassge> repository, IRepository <Person> personRepository, IFcmNotification fcmNotification)
 {
     _repository       = repository;
     _personRepository = personRepository;
     _fcmNotification  = fcmNotification;
 }
 public CheckPrivateOrderExpireService()
 {
     _logger          = LogManager.GetCurrentClassLogger();
     _fcmNotification = new FcmNotification();
 }
Exemplo n.º 7
0
 public PublicMessageCommandHandler(IRepository <PublicMessage> repository, IFcmNotification fcmNotification)
 {
     _repository      = repository;
     _fcmNotification = fcmNotification;
 }
 public FactorCommandHandler(IRepository <Factor> repository, IFcmNotification fcmNotification)
 {
     _repository      = repository;
     _fcmNotification = fcmNotification;
 }