Пример #1
0
 public LoginQueryHandler(IUserRepository userRepository, IPasswordEncrypt encrypt, ITokenManager manager)
 {
     this.userRepository = userRepository;
     this.encrypt        = encrypt;
     this.manager        = manager;
 }
Пример #2
0
 public UserAccountsCommandHandler(IMediator mediator, IRepository repository, IPasswordEncrypt passwordEncrypt)
 {
     this._repository      = repository;
     this._mediator        = mediator;
     this._passwordEncrypt = passwordEncrypt;
 }
Пример #3
0
 public RegistrationCommandHandler(IUserRepository userRepository, IEmployeesRepository employeesRepository, IPasswordEncrypt encrypt)
 {
     this.employeesRepository = employeesRepository;
     this.encrypt             = encrypt;
     this.userRepository      = userRepository;
 }