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