public JsonResult IsEmailIdAlreadyExist(MeinekeCustomerSignUp Cust) { DataSet dsCheckUserExist = BrokerUtility.CheckUSerExist(Cust.EmailId.ToString()); if (dsCheckUserExist.Tables.Count > 0) { return(Json("Email Id already registered.", JsonRequestBehavior.AllowGet)); } else { return(Json(true, JsonRequestBehavior.AllowGet)); } }