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