public IActionResult Accept(int appointmentId) { _appointmentsService.AcceptAppointment(appointmentId); return(RedirectToAction("Index")); }