Exemple #1
0
 public PatientsController(IPatientsRepositoryAsync <PatientDto> repository, IPatientsServiceAsync <PatientDto> service)
 {
     this.repository = repository;
     this.service    = service;
 }
 public PatientsServiceAsync(IPatientsRepositoryAsync <PatientDto> patientsRepository, IDoctorsRepositoryAsync <DoctorDto> doctorsRepository, IDiseasesRepositoryAsync <DiseaseDto> diseasesRepository)
 {
     this._patientsRepository = patientsRepository;
     this._doctorsRepository  = doctorsRepository;
     this._diseasesRepository = diseasesRepository;
 }