public RequestAppointmentCommandHandler(
     IAppointmentSchedulingRepository appointmentSchedulingRepository,
     ICurrentUser currentUser,
     IAppointmentBuilder appointmentBuilder)
 {
     _appointmentSchedulingRepository = appointmentSchedulingRepository;
     _currentUser        = currentUser;
     _appointmentBuilder = appointmentBuilder;
 }
Пример #2
0
 public AppointmentService(IAppointmentRepository appointmentRepository, IAppointmentBuilder appointmentBuilder)
 {
     this.appointmentRepository = appointmentRepository;
     this.appointmentBuilder    = appointmentBuilder;
 }