Exemplo n.º 1
0
 public MedicalRecordBusiness(IMapper mapper,
                              IMedicalRecordRepository medicalRecordRepository,
                              IPatientRepository patientRepository,
                              IMedicalRecordStatusRepository medicalRecordStatusRepository,
                              IDiseaseRepository diseaseRepository,
                              ITreatmentDiseaseRepository treatmentDiseaseRepository)
 {
     _mapper = mapper;
     _medicalRecordRepository       = medicalRecordRepository;
     _patientRepository             = patientRepository;
     _medicalRecordStatusRepository = medicalRecordStatusRepository;
     _diseaseRepository             = diseaseRepository;
     _treatmentDiseaseRepository    = treatmentDiseaseRepository;
 }
Exemplo n.º 2
0
 public TreatmentBusiness(IMapper mapper,
                          ITreatmentRepository treatmentRepository,
                          IEmployeeRepository employeeRepository,
                          IPatientRepository patientRepository,
                          IMedicalRecordRepository medicalRecordRepository,
                          ITreatmentDiseaseRepository treatmentDiseaseRepository,
                          IDiseaseRepository diseaseRepository)
 {
     _mapper = mapper;
     _treatmentRepository        = treatmentRepository;
     _employeeRepository         = employeeRepository;
     _patientRepository          = patientRepository;
     _medicalRecordRepository    = medicalRecordRepository;
     _treatmentDiseaseRepository = treatmentDiseaseRepository;
     _diseaseRepository          = diseaseRepository;
 }