public AccountsDAL retrieveUser(string username, string password) { AccountsDAL p = new AccountsDAL(); AccountsDAL p2 = p.retrieveUser(username, password); return(p2); }
public bool retrieveUserByLogin(string username, string password) { bool result = false; AccountsDAL p = new AccountsDAL(); AccountsDAL p2 = p.retrieveUser(username, password); if (p2 != null) { result = true; } return(result); }