public bool CheckLoginAsync(string username, string password) { Console.WriteLine("Hello from BLL"); try { string result = ""; bool checkLogin = employeeDAL.CheckLoginAsync(username, password, ref result); if (checkLogin == true) { return(true); } return(false); } catch (Exception e) { return(false); } }