public bool GetUserInfoForExistsProperty(string UserName, string MobileNumber, string EMailId) { DataTable dt = new DataTable(); bool IsUserExists = false; try { dt = _userData.GetUserInfoForExistsProperty(UserName, MobileNumber, EMailId); if (dt.Rows.Count > 0) { IsUserExists = true; } } catch (Exception) { } return(IsUserExists); }