public ActionResult Appointments(string practitionerId) { PractitionerProcess process = new PractitionerProcess(); List <AppointmentModel> result = process.GetAppointmentsTable(practitionerId); return(Json(result, JsonRequestBehavior.AllowGet)); }