Exemplo n.º 1
0
 public ExaminationService(IExaminationUpcomingRepository upcomingRepository, IExaminationPreviousRepository previousRepository, IDiagnosisService diagnosisService, IPrescriptionService prescriptionService, IReferralService referralService, ISymptomService symptomService, ITherapyService therapyService)
 {
     _upcomingRepository  = upcomingRepository;
     _previousRepository  = previousRepository;
     _diagnosisService    = diagnosisService;
     _prescriptionService = prescriptionService;
     _referralService     = referralService;
     _symptomService      = symptomService;
     _therapyService      = therapyService;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Constructor to initiate ISymptomService which is used to get data for the API
 /// </summary>
 /// <param name="symptomService">SymptomService, which comes from Dependency Injection</param>
 public SymptomsController(ISymptomService symptomService)
 {
     _symptomService = symptomService;
 }
 public SymptomsController(ApplicationDbContext context, ISymptomService symptomService)
 {
     _context        = context;
     _symptomService = symptomService;
 }
 public UploadController(ISymptomService symptomService, IDiseaseService diseaseService)
 {
     _symptomService = symptomService;
     _diseaseService = diseaseService;
 }
 public SearchController(IDiseaseService diseaseService, ISymptomService symptomService)
 {
     _diseaseService = diseaseService;
     _symptomService = symptomService;
 }
 public DiagnoseController(ISymptomService symptomService, IDiagnoseService diagnoseService)
 {
     _symptomService  = symptomService;
     _diagnoseService = diagnoseService;
 }
Exemplo n.º 7
0
 public VirusEditModel(IVirusService virusService, ISymptomService symptomService)
 {
     this.virusService   = virusService;
     this.symptomService = symptomService;
 }