public LoginQueryHandler(IUserRepository userRepository, IPasswordEncrypt encrypt, ITokenManager manager) { this.userRepository = userRepository; this.encrypt = encrypt; this.manager = manager; }
public UserAccountsCommandHandler(IMediator mediator, IRepository repository, IPasswordEncrypt passwordEncrypt) { this._repository = repository; this._mediator = mediator; this._passwordEncrypt = passwordEncrypt; }
public RegistrationCommandHandler(IUserRepository userRepository, IEmployeesRepository employeesRepository, IPasswordEncrypt encrypt) { this.employeesRepository = employeesRepository; this.encrypt = encrypt; this.userRepository = userRepository; }