Ejemplo n.º 1
0
 public DiseasesController(IDiseasesRepositoryAsync <DiseaseDto> repository)
 {
     this._repository = repository;
 }
Ejemplo n.º 2
0
 public PatientsServiceAsync(IPatientsRepositoryAsync <PatientDto> patientsRepository, IDoctorsRepositoryAsync <DoctorDto> doctorsRepository, IDiseasesRepositoryAsync <DiseaseDto> diseasesRepository)
 {
     this._patientsRepository = patientsRepository;
     this._doctorsRepository  = doctorsRepository;
     this._diseasesRepository = diseasesRepository;
 }