Exemple #1
0
 public DoctorsController(
     IDoctorRepository doctorRepository,
     IMapper mapper,
     IPatientDoctorRepository patientDoctorRepository,
     IPatientRepository patientRepository
     )
 {
     _patientRepository = patientRepository;
     _mapper            = mapper;
     _patientDoctorRepo = patientDoctorRepository;
     _repo = doctorRepository;
 }
Exemple #2
0
 public PatientDoctorService(IPatientDoctorRepository repository, IMapper mapper)
 {
     _repository = repository;
     _mapper     = mapper;
 }
Exemple #3
0
 public PatientsController(IPatientRepository repo, IMapper mapper, IPatientDoctorRepository patientDoctor)
 {
     _repo              = repo;
     _mapper            = mapper;
     _patientDoctorRepo = patientDoctor;
 }