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; }
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; }
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; }
public ResearchesController(IResearchService researchService) { _researchService = researchService; }
public async Task Initialize() { context = await UtilityFactory.CreateContextAsync(); researchService = new ResearchService(context, UtilityFactory.CreateMapper()); }
// IEnumerable<Research> Researches; public IndexModel(IResearchService researchService) { ResearchService = researchService; }