Exemple #1
0
 public CreatePaymentCommandHandler(IMapper mapper, IMongoEventRepository <IEvent> eventSourceRepository, IPaymentRepository paymentRepository, IEventBus eventBus)
 {
     _mapper = mapper;
     _eventSourceRepository = eventSourceRepository;
     _paymentRepository     = paymentRepository;
     _eventBus = eventBus;
 }
 public AppParameterAppService(IMapper mapper,
                               IMediator bus,
                               IAppParameterRepository appParameterRepository,
                               IMongoEventRepository mongoEventRepository,
                               IUser user,
                               ISendEmailService sendEmailService)
     : base(mapper, appParameterRepository, mongoEventRepository, bus, user)
 {
     _appParameterRepository = appParameterRepository;
     _sendEmailService       = sendEmailService;
 }
Exemple #3
0
 public BaseAppService(IMapper mapper,
                       IRepository <TModel> repo,
                       IMongoEventRepository mongoEventRepository,
                       IMediator bus,
                       IUser user)
 {
     _mapper = mapper;
     _repo   = repo;
     _mongoEventRepository = mongoEventRepository;
     _bus  = bus;
     _user = user;
 }
 public AppParameterEventHandler(IMongoEventRepository mongoEventRepository)
 {
     _mongoEventRepository = mongoEventRepository;
 }