Exemplo n.º 1
0
 public ExperimentsController(IMapper mapper, IExperimentService experimentService, IResearchService researchService,
                              UserManager <AppUser> userManager)
 {
     this.mapper            = mapper;
     this.userManager       = userManager;
     this.experimentService = experimentService;
     this.researchService   = researchService;
 }
 public ResearchesController(IMapper mapper, IResearchService researchService, ITopicService topicService,
                             ITagService tagService, UserManager <AppUser> accountManager)
 {
     this.mapper          = mapper;
     this.accountManager  = accountManager;
     this.topicService    = topicService;
     this.tagService      = tagService;
     this.researchService = researchService;
 }
Exemplo n.º 3
0
 public ResearchController(
     IRepository2 <Research> researchRepository,
     IRepository <ResearchCategory> researchCategoryRepository,
     IConfigurationRepository configurationRepository,
     IDateTimeRepository datetimeRepository,
     IResearchService researchService)
 {
     this._researchRepository         = researchRepository;
     this._researchCategoryRepository = researchCategoryRepository;
     this._configurationRepository    = configurationRepository;
     this._datetimeRepository         = datetimeRepository;
     this._researchService            = researchService;
 }
Exemplo n.º 4
0
 public AdminController(
     IPhotoService photoService,
     IClusterService clusterService,
     ISamplesService samplesService,
     IResearchService researchService,
     IChartService chartService,
     IApplicationLogger appLogger)
 {
     _photoService    = photoService;
     _clusterService  = clusterService;
     _samplesService  = samplesService;
     _researchService = researchService;
     _chartService    = chartService;
     _appLogger       = appLogger;
 }
Exemplo n.º 5
0
 public ResearchesController(IResearchService researchService)
 {
     _researchService = researchService;
 }
Exemplo n.º 6
0
        public async Task Initialize()
        {
            context = await UtilityFactory.CreateContextAsync();

            researchService = new ResearchService(context, UtilityFactory.CreateMapper());
        }
Exemplo n.º 7
0
        //   IEnumerable<Research> Researches;

        public IndexModel(IResearchService researchService)
        {
            ResearchService = researchService;
        }