示例#1
0
 public CreateNewPasswordServerAction(IServiceProvider serviceProvider, NewPasswordSecretRepository newPasswordSecretRepository, ProfileRepository profileRepository, ITimeService timeService, TextService textService, IHashService hashService, UniwikiContext uniwikiContext) : base(serviceProvider)
 {
     _newPasswordSecretRepository = newPasswordSecretRepository;
     _profileRepository           = profileRepository;
     _timeService    = timeService;
     _textService    = textService;
     _hashService    = hashService;
     _uniwikiContext = uniwikiContext;
 }
 public RestorePasswordServerAction(IServiceProvider serviceProvider, IEmailService emailService, ProfileRepository profileRepository, NewPasswordSecretRepository newPasswordSecretRepository, ITimeService timeService, TextService textService, UniwikiContext uniwikiContext)
     : base(serviceProvider)
 {
     _emailService                = emailService;
     _profileRepository           = profileRepository;
     _newPasswordSecretRepository = newPasswordSecretRepository;
     _timeService    = timeService;
     _textService    = textService;
     _uniwikiContext = uniwikiContext;
 }