public DoctorRepository(ICSVStream <Doctor> stream, ISequencer <long> sequencer, IBusinessDayRepository businessDayRepository, ISpecialityRepository speciality,
                         IDoctorGradeRepository doctorGrade, IAddressRepository addressRepository, ITownRepository townRepository, IStateRepository stateRepository)
     : base(stream, sequencer)
 {
     _specialityRepository  = speciality;
     _businessDayRepository = businessDayRepository;
     _doctorGradeRepository = doctorGrade;
     _addressRepository     = addressRepository;
     _townRepository        = townRepository;
     _stateRepository       = stateRepository;
 }
Ejemplo n.º 2
0
 public BusinessDayService(IBusinessDayRepository businessDayRepository, IDoctorService doctorService)
 {
     _businessDayRepository = businessDayRepository;
     this.doctorService     = doctorService;
 }