Exemple #1
0
 public bool CheckPassword(string userName, string password)
 {
     return(LoginHelper.Exists(GenerateSql.ReturnCheckPasswordSql(userName, password)));
 }
Exemple #2
0
 public MySqlDataReader Login(User user)
 {
     return(LoginHelper.ExecuteReader(GenerateSql.ReturnCheckPasswordSql(user.UserName, user.Password)));
 }