public bool AuthenticateUser(GetAuthRequest argObj) { bool bAuth = false; try { AdminDAL objAdminDAL = new AdminDAL(); List <GetAuthResponse> arr = objAdminDAL.AuthenticateUser(argObj); if (arr.Count > 0) { bAuth = true; } } catch (Exception ex) { } return(bAuth); }