Пример #1
0
 public HomeController(
     ICPFileService cpFileService,
     IDiagnoseService diagnoseService,
     IDiagService diagService,
     IHospitalPracticeService hospitalPracticeService,
     IPatientService patientService,
     IUsedDrugService usedDrugService,
     ILogger <HomeController> logger,
     MedicDataLocalization medicDataLocalization,
     ICacheable medicCache,
     IMedicLoggerService medicLoggerService,
     IFormattableFactory formattableFactory)
     : base(medicDataLocalization)
 {
     CPFileService           = cpFileService ?? throw new ArgumentNullException(nameof(cpFileService));
     DiagnoseService         = diagnoseService ?? throw new ArgumentNullException(nameof(diagnoseService));
     DiagService             = diagService ?? throw new ArgumentNullException(nameof(diagService));
     HospitalPracticeService = hospitalPracticeService ?? throw new ArgumentNullException(nameof(hospitalPracticeService));
     PatientService          = patientService ?? throw new ArgumentNullException(nameof(patientService));
     UsedDrugService         = usedDrugService ?? throw new ArgumentNullException(nameof(usedDrugService));
     Logger             = logger ?? throw new ArgumentNullException(nameof(logger));
     MedicCache         = medicCache ?? throw new ArgumentNullException(nameof(medicCache));
     MedicLoggerService = medicLoggerService ?? throw new ArgumentNullException(nameof(medicLoggerService));
     FormattableFactory = formattableFactory ?? throw new ArgumentNullException(nameof(formattableFactory));
 }
Пример #2
0
 public BaseViewModel()
 {
     patientService             = new PatientService();
     mdtService                 = new MDTService();
     dentalProceduresService    = new DentalProceduresService();
     procedureCellService       = new ProcedureCellService();
     proceduresTableService     = new ProceduresTableService();
     dentistAppointmentsService = new DentistAppointmentService();
     doctorService              = new DoctorService();
     activityService            = new ActivityService();
     reminderService            = new ReminderService();
     videoService               = new VideoService();
     diseaseService             = new DiseaseService();
     diagnoseService            = new DiagnoseService();
 }
Пример #3
0
 public ExaminationController(IDiagnoseService examinationService)
 {
     this.diagnoseService = examinationService;
 }
Пример #4
0
 public HomeController(IUserService userService, IPatientService patientService, IDiagnoseService diagnoseService)
 {
     this.userService     = userService;
     this.patientService  = patientService;
     this.diagnoseService = diagnoseService;
 }
 public DiagnoseController(IDiagnoseService diagnoseService)
 {
     _diagnoseService = diagnoseService;
 }
 public DiagnoseController(ISymptomService symptomService, IDiagnoseService diagnoseService)
 {
     _symptomService  = symptomService;
     _diagnoseService = diagnoseService;
 }