Beispiel #1
0
 public UserService(IUserRepository userRepository, 
     IPasswordHelperService passwordHelperService,
     IPasswordValidator passwordValidator,
     IValidator validator,
     MembershipSettingsBag settings)
 {
     _userRepository = userRepository;
     _passwordHelperService = passwordHelperService;
     _passwordValidator = passwordValidator;
     _validator = validator;
     _settings = settings;
 }
Beispiel #2
0
 public PasswordService(IPasswordHelperService passwordHelper,
     IPasswordValidator passwordValidator,
     IUserRepository userRepository, 
     IValidator validator,
     IEmailService emailService,
     EmailSettings emailSettings,
     MembershipSettingsBag settings)
 {
     _passwordHelper = passwordHelper;
     _passwordValidator = passwordValidator;
     _userRepository = userRepository;
     _validator = validator;
     _emailService = emailService;
     _emailSettings = emailSettings;
     _settings = settings;
 }