public JsonResult AcceptAppointment(int appoinmentId) { return(Json(appointmentData.AcceptAppointment(appoinmentId), JsonRequestBehavior.AllowGet)); }