Пример #1
0
 public UserService(IDtoValidator validator, ILogger logger, IUserRepository userRepository, IPasswordStrengthValidator passwordStrengthValidator)
 {
     _validator = validator;
     _logger = logger;
     _userRepository = userRepository;
     _passwordStrengthValidator = passwordStrengthValidator;
 }
Пример #2
0
 public UserService(IDtoValidator validator, ILogger logger, IUserRepository userRepository, IPasswordStrengthValidator passwordStrengthValidator)
 {
     _validator                 = validator;
     _logger                    = logger;
     _userRepository            = userRepository;
     _passwordStrengthValidator = passwordStrengthValidator;
 }
Пример #3
0
 public UserDataController(ILogger <UserDataController> logger,
                           IRepository <UserData> repository,
                           IPasswordStrengthValidator passwordStrengthValidator)
 {
     this.logger     = logger;
     this.repository = repository;
     this.passwordStrengthValidator = passwordStrengthValidator;
 }