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

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

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