예제 #1
0
 public RegisterUserInteractor(FindUserQuery userQuery, FindUserQueryByEmail emailQuery, IRepository repository, PasswordHash passwordHash)
 {
     _userQuery    = userQuery;
     _emailQuery   = emailQuery;
     _repository   = repository;
     _passwordHash = passwordHash;
 }
        private static RegisterUserInteractor RegisterUserInteractor(FindUserQuery findUserQuery,
                                                                     FindUserQueryByEmail findUserQueryByEmail, IRepository repository, PasswordHash hash)
        {
            var interactor = new RegisterUserInteractor(findUserQuery, findUserQueryByEmail, repository, hash);

            return(interactor);
        }
예제 #3
0
 public LoginUserInteractor(FindUserQueryByEmail emailQueryObject)
 {
     _emailQueryObject = emailQueryObject;
 }