Esempio n. 1
0
 public UserRegisterCommandHandler(ILoggerFactory loggerFactory, TrainDTrainorContext dataContext,
                                   IPasswordHasher passwordHasher, IMapper mapper,
                                   ISMSTemplateService sMSTemplateService) : base(loggerFactory)
 {
     _dataContext        = dataContext;
     _passwordHasher     = passwordHasher;
     _mapper             = mapper;
     _sMSTemplateService = sMSTemplateService;
 }
 public PaymentCommandHandler(ILoggerFactory loggerFactory,
                              TrainDTrainorContext dataContext,
                              IMapper mapper,
                              ISMSTemplateService sMSTemplateService,
                              IOptions <SMSConfiguration> smsConfiguration) : base(loggerFactory)
 {
     _dataContext        = dataContext;
     _mapper             = mapper;
     _sMSTemplateService = sMSTemplateService;
     _smsConfiguration   = smsConfiguration;
 }
 public MapToCourseCommandHandler(ILoggerFactory loggerFactory,
                                  TrainDTrainorContext dataContext,
                                  IMapper mapper,
                                  ISMSTemplateService sMSTemplateService,
                                  IOptions <SMSConfiguration> smsConfiguration,
                                  IMediator mediator) : base(loggerFactory)
 {
     _dataContext        = dataContext;
     _mapper             = mapper;
     _sMSTemplateService = sMSTemplateService;
     _smsConfiguration   = smsConfiguration;
     _mediator           = mediator;
 }
Esempio n. 4
0
 public UserSendOTPCommandHandler(ILoggerFactory loggerFactory, TrainDTrainorContext dataContext, ISMSTemplateService sMSTemplateService, IMapper mapper) : base(loggerFactory)
 {
     _dataContext        = dataContext;
     _mapper             = mapper;
     _sMSTemplateService = sMSTemplateService;
 }