public List <Appointment> GetAppointmentsByPatient(Patient patient) { return(_repository.GetAppointmentsByPatient(patient)); }