public ActionResult AcceptAppointment(int id) { var result = _appointmentManager.AcceptAppointment(id); return(RedirectToAction("ListAppointments")); }