public IActionResult UpdatePatientBackgroundAndAppointmentDescription(AppointmentDetailsModel model)
        {
            var succeeded = _appointmentsService.UpdatePatientBackgroundAndAppointmentDescription(model.Appointment.Id,
                                                                                                  model.Appointment.Patient.Background,
                                                                                                  model.Appointment.Description);

            if (!succeeded)
            {
                return(this.InternalServerError());
            }

            return(RedirectToAction("Details", new { appointmentId = model.Appointment.Id }));
        }