示例#1
0
 public AuthenticationBusiness()
 {
     authRepo = new AuthenticationRepo();
 }
示例#2
0
 public AuthenticationManager()
 {
     _authRepo = new AuthenticationRepo();
 }
示例#3
0
        public bool RegisterUser(RegistrationModel registrationModel)
        {
            AuthenticationRepo authRepo = new AuthenticationRepo();

            return(authRepo.RegisterUser(registrationModel));
        }
示例#4
0
        public bool ValidateLogin(LoginModel loginModel)
        {
            AuthenticationRepo authRepo = new AuthenticationRepo();

            return(authRepo.ValidateLogin(loginModel));
        }
 public AuthenticationController()
 {
     _authRepo = new AuthenticationRepo();
 }