Example #1
0
 public AppointmentRepository(
     PetClinicDbContext context,
     IMapper mapper,
     IAppointmentFactory appointmentFactory)
     : base(context)
 {
     this.mapper             = mapper;
     this.appointmentFactory = appointmentFactory;
 }
Example #2
0
 public MakeAsClientAppointmentCommandHandler(
     IAppointmentRepository appointmentRepository,
     IAppointmentFactory appointmentFactory,
     ICurrentUser currentUser)
 {
     this.appointmentRepository = appointmentRepository;
     this.appointmentFactory    = appointmentFactory;
     this.currentUser           = currentUser;
 }
Example #3
0
 public AppointmentController(IAppointmentManager appointmentManager,
                              IAppointmentFactory appointmentFactory)
 {
     _appointmentManager = appointmentManager;
     _appointmentFactory = appointmentFactory;
 }