public Boolean LoginUserName(string username) { LoginData login = new LoginData(); if (login.CheckUserName(login.SearchUserName(username))) { return true; } else { return false; } }
public Boolean LoginPassword(string password, string username) { LoginData login = new LoginData(); if (login.CheckPassword(login.SearchPassword(username), password) == true) { return true; } else { return false; } }