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