public GetAppointmentsQueryHandler(AppointmentRepository appointmentRepository, AppointmentRequestRepository appointmentRequestRepository, AddressBook addressBook) { this.appointmentRepository = appointmentRepository; this.appointmentRequestRepository = appointmentRequestRepository; this.addressBook = addressBook; }
public CreateAppointmentCommandHandler(AppointmentRequestRepository appointmentRequestRepository) { this.appointmentRequestRepository = appointmentRequestRepository; }