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