Example #1
0
 public AnalysisController(IQuestionsService questionsService, IRecruitsService recruitsService,
                           IOptions <RootSubjectSettings> rootSubjectSettings, ISubjectsService subjectsService, ITermsService termsService, IMapper mapper)
 {
     _questionsService    = questionsService;
     _recruitsService     = recruitsService;
     _subjectsService     = subjectsService;
     _termsService        = termsService;
     _rootSubjectSettings = rootSubjectSettings.Value;
     _mapper = mapper;
 }
 public SettingsController(IOptions <RootSubjectSettings> rootSubjectSettings, IDataService dataService, IRecruitsService recruitsService,
                           ISubjectsService subjectsService, ITermsService termsService, IMapper mapper)
 {
     _dataService         = dataService;
     _recruitsService     = recruitsService;
     _subjectsService     = subjectsService;
     _termsService        = termsService;
     _rootSubjectSettings = rootSubjectSettings.Value;
     _mapper = mapper;
 }
Example #3
0
        public DataController(IOptions <RootSubjectSettings> rootSubjectSettings, IOptions <AdminSettings> adminSettings,
                              IDataService dataService, ISubjectsService subjectsService, ITermsService termsService, INotesService notesService,
                              IRecruitsService recruitsService, IQuestionsService questionsService, IAttachmentsService attachmentsService, IMapper mapper)
        {
            _adminSettings       = adminSettings.Value;
            _rootSubjectSettings = rootSubjectSettings.Value;
            _subjectsService     = subjectsService;
            _termsService        = termsService;
            _notesService        = notesService;
            _recruitsService     = recruitsService;
            _questionsService    = questionsService;
            _attachmentsService  = attachmentsService;

            _dataService = dataService;

            _mapper = mapper;
        }