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