public IActionResult Refuse(int appointmentId)
 {
     _appointmentsService.RefuseAppointment(appointmentId);
     return(RedirectToAction("Index"));
 }