Ejemplo n.º 1
0
 public bool ChangePassword(string newPassword)
 {
     if (UserFunctions.AuthorizeUser(UserAccount))
     {
         return(UserFunctions.ChangePassword(UserAccount, newPassword));
     }
     return(false);
 }
Ejemplo n.º 2
0
 public bool LodadQuestionsToDataBase()
 {
     if (UserFunctions.AuthorizeUser(UserAccount))
     {
         return(Functions.LoadQuestions());
     }
     else
     {
         return(false);
     }
 }
Ejemplo n.º 3
0
 public bool Login()
 {
     return(UserFunctions.AuthorizeUser(UserAccount));
 }