public JsonResult ShowPatientType() { BL_PatientType objPatient = new BL_PatientType(); return(new JsonResult { Data = objPatient.SelectAllData(), JsonRequestBehavior = JsonRequestBehavior.AllowGet }); }