public ActionResult Patients(string practitionerId) { List <PatientsDirectory> result = new List <PatientsDirectory>(); PractitionerBaseViewModel vm = new PractitionerBaseViewModel(); vm.AccId = Guid.Parse(practitionerId); PractitionerProcess process = new PractitionerProcess(); result = process.GetPatientsDirectory(vm); return(Json(result, JsonRequestBehavior.AllowGet)); }