public ActionResult FindPatientsByID(string id) { HttpBuilder builder = new HttpBuilder(); string jsonResponse = builder.GetResponse(id.ToString()); BookingAppointmentModel model = JsonConvert.DeserializeObject <BookingAppointmentModel>(jsonResponse); return(View("~/Views/Appointment/Index.cshtml", model)); }
public ActionResult AddAppointment(BookingAppointmentModel model) { SendEmail(); return(null); }