Example #1
0
 public ChangePasswordByRecoveryKeyCommandHandler(MonumentsDbContext dbContext,
                                                  IStringEncoder stringEncoder,
                                                  IPasswordEncryptor passwordEncryptor)
 {
     _dbContext         = dbContext;
     _stringEncoder     = stringEncoder;
     _passwordEncryptor = passwordEncryptor;
 }
Example #2
0
 public SendRecoveryKeyCommandHandler(MonumentsDbContext dbContext,
                                      IEmailSender emailSender,
                                      IStringEncoder stringEncoder)
 {
     _dbContext     = dbContext;
     _emailSender   = emailSender;
     _stringEncoder = stringEncoder;
 }
 public CreateUserCommandHandler(MonumentsDbContext dbContext,
                                 IPasswordEncryptor passwordEncryptor,
                                 IEmailSender emailSender)
 {
     _dbContext         = dbContext;
     _passwordEncryptor = passwordEncryptor;
     _emailSender       = emailSender;
 }
 public UpdateUserCommandHandler(MonumentsDbContext dbContext,
                                 IPasswordEncryptor passwordEncryptor,
                                 IEmailSender emailSender,
                                 IApplicationContext applicationContext)
 {
     _dbContext          = dbContext;
     _passwordEncryptor  = passwordEncryptor;
     _emailSender        = emailSender;
     _applicationContext = applicationContext;
 }
Example #5
0
 public GetMonumentsStatsQueryHandler(MonumentsDbContext dbContext)
 {
     _dbContext = dbContext;
 }
Example #6
0
 public PromoteUserCommandHandler(MonumentsDbContext dbContext,
                                  IApplicationContext context)
 {
     _dbContext = dbContext;
     _context   = context;
 }
Example #7
0
 public UpdateMonumentCommandHandler(MonumentsDbContext dbContext)
 {
     _dbContext = dbContext;
 }
 public GetPictureByIdQueryHandler(MonumentsDbContext dbContext)
 {
     _dbContext = dbContext;
 }
Example #9
0
 public CreateMonumentCommandHandler(MonumentsDbContext dbContext,
                                     IApplicationContext context)
 {
     _dbContext = dbContext;
     _context   = context;
 }
 public GetUserStatisticsQueryHandler(MonumentsDbContext dbContext)
 {
     _dbContext = dbContext;
 }
Example #11
0
 public AuthenticateUserCommandHandler(MonumentsDbContext dbContext,
                                       IPasswordEncryptor passwordEncryptor)
 {
     _dbContext         = dbContext;
     _passwordEncryptor = passwordEncryptor;
 }
 public GetUserByIdQueryHandler(MonumentsDbContext dbContext)
 {
     _dbContext = dbContext;
 }
Example #13
0
 public DeletePictureCommandHandler(MonumentsDbContext dbContext)
 {
     _dbContext = dbContext;
 }
 public GetRecentMonumentDetailsQueryHandler(MonumentsDbContext dbContext)
 {
     _dbContext = dbContext;
 }
 public AuthenticationPipelineBehavior(MonumentsDbContext dbContext,
                                       IApplicationContext context)
 {
     _dbContext = dbContext;
     _context   = context;
 }
 public CreatePictureCommandHandler(MonumentsDbContext dbContext,
                                    IPictureFactory pictureFactory)
 {
     _dbContext      = dbContext;
     _pictureFactory = pictureFactory;
 }