Removed unused methods from AppointmentRepository. Minor code refactoring in AppointmentController.