/// <summary> /// Checks if login details are correct /// </summary> /// <param name="username"></param> /// <param name="password"></param> /// <returns></returns> public static bool IsValidLoginDetails(string username, string password) { bool isValid = UsersDataAccess.IsValidLoginData(username, GetHashString(password)); return(isValid); }