Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CheckUp"/> class.
 /// </summary>
 public CheckUp()
 {
     InitializeComponent();
     _prescriptionRepo = new PrescriptionRepository();
     _prescriptionDetailRepo = new PrescriptionDetailRepository();
     _patientRepo = new PatientRepository();
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CheckUp"/> class.
 /// </summary>
 public CheckUp()
 {
     InitializeComponent();
     _prescriptionRepo       = new PrescriptionRepository();
     _prescriptionDetailRepo = new PrescriptionDetailRepository();
     _patientRepo            = new PatientRepository();
 }
 public PrescriptionBusiness(IMapper mapper,
                             IPrescriptionDetailRepository prescriptionDetailRepository,
                             IDrugRepository drugRepository,
                             IUnitRepository unitRepository,
                             ITreatmentDetailRepository treatmentDetailRepository)
 {
     _mapper = mapper;
     _prescriptionDetailRepository = prescriptionDetailRepository;
     _drugRepository            = drugRepository;
     _unitRepository            = unitRepository;
     _treatmentDetailRepository = treatmentDetailRepository;
 }
Exemple #4
0
 public TreatmentDetailBusiness(IMapper mapper,
                                ITreatmentDetailRepository treatmentDetailRepository,
                                ITreatmentRepository treatmentRepository,
                                IEmployeeRepository employeeRepository,
                                IPatientRepository patientRepository,
                                IMedicalRecordRepository medicalRecordRepository,
                                ITreatmentDiseaseRepository treatmentDiseaseRepository,
                                IDiseaseRepository diseaseRepository,
                                IPrescriptionDetailRepository prescriptionDetailRepository)
 {
     _mapper = mapper;
     _treatmentDetailRepository    = treatmentDetailRepository;
     _treatmentRepository          = treatmentRepository;
     _employeeRepository           = employeeRepository;
     _patientRepository            = patientRepository;
     _medicalRecordRepository      = medicalRecordRepository;
     _treatmentDiseaseRepository   = treatmentDiseaseRepository;
     _diseaseRepository            = diseaseRepository;
     _prescriptionDetailRepository = prescriptionDetailRepository;
 }