public RequestAppointmentCommandHandler( IAppointmentSchedulingRepository appointmentSchedulingRepository, ICurrentUser currentUser, IAppointmentBuilder appointmentBuilder) { _appointmentSchedulingRepository = appointmentSchedulingRepository; _currentUser = currentUser; _appointmentBuilder = appointmentBuilder; }
public AppointmentService(IAppointmentRepository appointmentRepository, IAppointmentBuilder appointmentBuilder) { this.appointmentRepository = appointmentRepository; this.appointmentBuilder = appointmentBuilder; }