コード例 #1
0
 public ListSpecialtiesWithPaginationQueryHandler(
     ISpecialtyRepository repository,
     IMapper mapper,
     SpecBuilderFactory builder)
 {
     _repository = repository;
     _mapper     = mapper;
     _builder    = builder.Create <Domain.Entities.Specialty>();
 }
コード例 #2
0
 public ListDoctorsWithPaginationQueryHandler(
     IDoctorRepository doctorRepository,
     IMapper mapper,
     SpecBuilderFactory builder,
     ILocationService locationService)
 {
     _doctorRepository = doctorRepository;
     _mapper           = mapper;
     _locationService  = locationService;
     _builder          = builder.Create <Domain.Entities.DoctorAggregate.Doctor>();
 }