public AuthenticationBusiness() { authRepo = new AuthenticationRepo(); }
public AuthenticationManager() { _authRepo = new AuthenticationRepo(); }
public bool RegisterUser(RegistrationModel registrationModel) { AuthenticationRepo authRepo = new AuthenticationRepo(); return(authRepo.RegisterUser(registrationModel)); }
public bool ValidateLogin(LoginModel loginModel) { AuthenticationRepo authRepo = new AuthenticationRepo(); return(authRepo.ValidateLogin(loginModel)); }
public AuthenticationController() { _authRepo = new AuthenticationRepo(); }