public JsonResult GetCustmerJson(string mobile = "") { try { _details = new MasterModel(); return(Json(_details.GetCustomerJson(mobile), JsonRequestBehavior.AllowGet)); } catch (Exception ex) { return(Json("Invalid Error")); } }