/// <summary> /// Constructor /// </summary> public StudentService(IStudentRepository repository, IAllergyService allergyService, IAllergyRepository allergyRepository) { if (repository == null) { throw new ArgumentNullException("repository"); } this.repository = repository; this.allergyRepository = allergyRepository; }
public MedicalChartController( IMedicalChartService medicalChartService, IPatientService <PatientDTO> patientService, IAllergyService allergyService, IFileService fileService, ITreatmentHistoryService treatmentHistoryService, ITreatmentService <TreatmentDTO> treatmentService, IDentistService dentistService ) { _medicalChartService = medicalChartService; _patientService = patientService; _allergyService = allergyService; _fileService = fileService; _treatmentHistoryService = treatmentHistoryService; _treatmentService = treatmentService; _dentistService = dentistService; }
public AllergyController(IAllergyService allergyService) { this.allergyService = allergyService; }
public AllergyRuleEngine(IAllergyService allergyService) { _allergyService = allergyService; }