public IndexModel(ILogger <IndexModel> logger, IPagesService pagesService, IArticlesService articlesService, ISiteConfigurationRepository configRepository) { _logger = logger; _pagesService = pagesService; _articlesService = articlesService; _configRepository = configRepository; }
public ContentExportImport(IMenuService menuService, IThemeService themeService, IPagesService pagesService, IStoreService storeService) { _menuService = menuService; _storeService = storeService; _themeService = themeService; _pagesService = pagesService; }
public SeedData(GSTDbContext context, UserManager <User> userManager, RoleManager <IdentityRole> roleManager, IPagesService pages) { _context = context; _userManager = userManager; _roleManager = roleManager; this.pages = pages; }
public PageFunction( IPagesService pagesService, JsonSerializerOptions jsonOptions) { PagesService = pagesService; JsonOptions = jsonOptions; }
public SearchViewModel(IVisualStudioService visualStudioService, IRegexService regexService, IPagesService pagesService) { this._visualStudioService = visualStudioService; this._regexService = regexService; this._pagesService = pagesService; Results = new ObservableCollection<Result>(); }
public LandingsService( DbModels.DatabaseContext dbContext, ILogger <SchoolsService> logger, IPagesService pagesService) { DbContext = dbContext; Logger = logger; PagesService = pagesService; }
public BookController( IBooksService booksService, IPagesService pagesService, IPageConnectionsService pageConnectionsService) { this.booksService = booksService; this.pagesService = pagesService; this.pageConnectionsService = pageConnectionsService; }
public AdministrationAreaController(IPagesService pageService, IUsersService usersService, ILogService logsService, IVideosService videosService, IPicturesService picturesService, IPostsService postsService, UserManager <User> userManger) : base(pageService, usersService, logsService, videosService, picturesService, postsService, userManger) { }
public HomeController(IVideosService videosService, IPicturesService picturesService, IPagesService pagesService, IPostsService postsService) { this.videosService = videosService; this.picturesService = picturesService; this.pagesService = pagesService; this.postsService = postsService; }
public PagesController( IPagesService pagesService, IValidator <CreatePageRequestDto> addPageRequestValidator, IValidator <UpdatePageRequestDto> updatePageRequestValidator, IMapper mapper) : base(mapper) { _pagesService = pagesService; _addPageRequestValidator = addPageRequestValidator; _updatePageRequestValidator = updatePageRequestValidator; }
public ManagePagesController(IPagesService pagesService, IPageModelFactory pageModelFactory, ILocalizationService localizationService, ILocalizedEntityService localizedEntityService) { _pagesService = pagesService; _pageModelFactory = pageModelFactory; _localizationService = localizationService; _localizedEntityService = localizedEntityService; }
public PageController( IBooksService booksService, IPagesService pagesService, IPageConnectionsService pageConnectionsService, IUsersService usersService) { this.booksService = booksService; this.pagesService = pagesService; this.pageConnectionsService = pageConnectionsService; this.usersService = usersService; }
public PostsController( IPostsService postsService, IProfilesService profilesService, IPagesService pagesService, IWebHostEnvironment webHost) { this.postsService = postsService; this.profilesService = profilesService; this.pagesService = pagesService; this.webHost = webHost; }
public HomeController(ISocialIconService socialIconService, IProductService productService, ICompanyService companyService, IMenuService menuService, ISliderService sliderService, IBulletinMemberService bulletinMemberService, IPagesService pagesService) { this._productService = productService; this._companyService = companyService; this._menuService = menuService; this._sliderService = sliderService; this._bulletinMemberService = bulletinMemberService; this._pagesService = pagesService; this._socialIconService = socialIconService; }
public DefaultPagesApiOperations(IPagesService pages, IPageService page, IContentService content, IWidgetService widget, IWidgetsService widgets, IRedirectsService redirects, IRedirectService redirect, ISitemapService sitemap) { Pages = pages; Page = page; Content = content; Widget = widget; Widgets = widgets; Redirect = redirect; Redirects = redirects; Sitemap = sitemap; }
public PagesController( IPagesService pagesService, IWebHostEnvironment webHost, ICommentsService commentsService, IPostsService postsService, IProfilesService profilesService) { this.pagesService = pagesService; this.webHost = webHost; this.commentsService = commentsService; this.postsService = postsService; this.profilesService = profilesService; }
public LayoutController( IUserNavigationManager userNavigationManager, ILocalizationManager localizationManager, ISessionAppService sessionAppService, IMultiTenancyConfig multiTenancyConfig, IPagesService pagesService, IMenuService menuService, ILanguageManager languageManager) { _userNavigationManager = userNavigationManager; _localizationManager = localizationManager; _sessionAppService = sessionAppService; _multiTenancyConfig = multiTenancyConfig; _pagesService = pagesService; _menuService = menuService; _languageManager = languageManager; }
public BaseController() { this.data = new UoWData(); this.itemsService = new ItemsService(this.data); this.articlesService = new ArticlesService(this.data); this.pagesService = new PagesService(this.data); LayoutModel model = new LayoutModel(); model.ItemCategories = this.itemsService.GetItemCategories(); model.Articles = this.articlesService.GetArticles().Take(5); model.Pages = this.pagesService.GetPages(); ViewBag.LayoutModel = model; }
public SiteMapController(ISitemapGenerator sitemapGenerator, IPostService <TblPosts> postService, IPostCategoriesService categoriesService, IPostTagsService tagsService, IPagesService pagesService, ILanguagesService languagesService) { _sitemapGenerator = sitemapGenerator; _postService = postService; _categoriesService = categoriesService; _tagsService = tagsService; _pagesService = pagesService; _languagesService = languagesService; }
public ManageRedirectsController(IRedirectsService redirectsService, IRedirectModelFactory redirectModelFactory, ILocalizationService localizationService, IProductService productService, IBlogPostService blogPostService, IPagesService pagesService) { _redirectsService = redirectsService; _redirectModelFactory = redirectModelFactory; _localizationService = localizationService; _productService = productService; _blogPostService = blogPostService; _pagesService = pagesService; }
public HomeController( IPagesService pagesService, IGamesService gamesService, IPostsService postsService, IPartiesService partiesService, IUsersService usersService, IDistributedCache distributedCache) { this.pagesService = pagesService; this.gamesService = gamesService; this.postsService = postsService; this.partiesService = partiesService; this.usersService = usersService; this.distributedCache = distributedCache; }
public ContentExportImport(IMenuService menuService, Func<string, IThemeService> themeServiceFactory, Func<string, IPagesService> pagesServiceFactory, IStoreService storeService, ISettingsManager settingsManager) { _menuService = menuService; _storeService = storeService; var pagesChosenRepository = settingsManager.GetValue( "VirtoCommerce.Content.MainProperties.PagesRepositoryType", string.Empty); var themeChosenRepository = settingsManager.GetValue( "VirtoCommerce.Content.MainProperties.ThemesRepositoryType", string.Empty); _pagesService = pagesServiceFactory.Invoke(pagesChosenRepository); _themeService = themeServiceFactory.Invoke(themeChosenRepository); }
public ContentExportImport(IMenuService menuService, Func <string, IThemeService> themeServiceFactory, Func <string, IPagesService> pagesServiceFactory, IStoreService storeService, ISettingsManager settingsManager) { _menuService = menuService; _storeService = storeService; var pagesChosenRepository = settingsManager.GetValue( "VirtoCommerce.Content.MainProperties.PagesRepositoryType", string.Empty); var themeChosenRepository = settingsManager.GetValue( "VirtoCommerce.Content.MainProperties.ThemesRepositoryType", string.Empty); _pagesService = pagesServiceFactory.Invoke(pagesChosenRepository); _themeService = themeServiceFactory.Invoke(themeChosenRepository); }
public ModeratorController(IPagesService pageService, IUsersService usersService, ILogService logsService, IVideosService videosService, IPicturesService picturesService, IPostsService postsService, UserManager <User> userManager) { this.pageService = pageService; this.usersService = usersService; this.logsService = logsService; this.videosService = videosService; this.picturesService = picturesService; this.postsService = postsService; this.userManager = userManager; }
public EpisodesService( IWebtoonsRepository webtoonsRepository, IEpisodesRepository episodesRepository, IPagesRepository pagesRepository, IPagesService pagesService, IEpisodesLikesService episodesLikesService, ICommentsRepository commentsRepository, IApplicationUserRepository applicationUserRepository, ICommentsVotesRepository commentsVotesRepository) { this.webtoonsRepository = webtoonsRepository; this.episodesRepository = episodesRepository; this.pagesRepository = pagesRepository; this.pagesService = pagesService; this.episodesLikesService = episodesLikesService; this.commentsRepository = commentsRepository; this.applicationUserRepository = applicationUserRepository; this.commentsVotesRepository = commentsVotesRepository; }
/// <summary> /// Initializes a new instance of the <see cref="WebsiteController" /> class. /// </summary> /// <param name="loggerService">The logger service.</param> /// <param name="websiteService">The website service.</param> /// <param name="displayNameService">The display name service.</param> /// <param name="testService">The test service.</param> /// <param name="suiteService">The suite service.</param> /// <param name="schedulerService">The Scheduler service.</param> /// <param name="sharedTestService">The shared test service.</param> /// <param name="dataBaseCategoriesService">The data base Categories service.</param> public WebsiteController( ILoggerService loggerService, IWebsiteService websiteService, IPagesService displayNameService, ITestService testService, ISuiteService suiteService, ISchedulerService schedulerService, ISharedTestService sharedTestService, IDataBaseCategoriesService dataBaseCategoriesService) : base(loggerService) { this.websiteService = websiteService; this.displayNameService = displayNameService; this.testService = testService; this.suiteService = suiteService; this.schedulerService = schedulerService; this.sharedTestService = sharedTestService; this.dataBaseCategoriesService = dataBaseCategoriesService; }
public PagesController(Func<string, IPagesService> serviceFactory, ISettingsManager settingsManager) { if (serviceFactory == null) { throw new ArgumentNullException("serviceFactory"); } if (settingsManager == null) { throw new ArgumentNullException("settingsManager"); } var chosenRepository = settingsManager.GetValue( "VirtoCommerce.Content.MainProperties.PagesRepositoryType", string.Empty); var pagesService = serviceFactory.Invoke(chosenRepository); _pagesService = pagesService; }
public PagesController(Func <string, IPagesService> serviceFactory, ISettingsManager settingsManager) { if (serviceFactory == null) { throw new ArgumentNullException("serviceFactory"); } if (settingsManager == null) { throw new ArgumentNullException("settingsManager"); } var chosenRepository = settingsManager.GetValue( "VirtoCommerce.Content.MainProperties.PagesRepositoryType", string.Empty); var pagesService = serviceFactory.Invoke(chosenRepository); _pagesService = pagesService; }
public SyncController(Func <string, IThemeService> themeFactory, Func <string, IPagesService> pageFactory, ISettingsManager manager) { if (themeFactory == null) { throw new ArgumentNullException("factory"); } if (manager == null) { throw new ArgumentNullException("manager"); } var chosenThemeRepository = manager.GetValue( "VirtoCommerce.Content.MainProperties.ThemesRepositoryType", string.Empty); var chosenPagesRepository = manager.GetValue( "VirtoCommerce.Content.MainProperties.PagesRepositoryType", string.Empty); this._themeService = themeFactory.Invoke(chosenThemeRepository); this._pagesService = pageFactory.Invoke(chosenPagesRepository); }
public SyncController(Func<string, IThemeService> themeFactory, Func<string, IPagesService> pageFactory, ISettingsManager manager) { if (themeFactory == null) { throw new ArgumentNullException("factory"); } if (manager == null) { throw new ArgumentNullException("manager"); } var chosenThemeRepository = manager.GetValue( "VirtoCommerce.Content.MainProperties.ThemesRepositoryType", string.Empty); var chosenPagesRepository = manager.GetValue( "VirtoCommerce.Content.MainProperties.PagesRepositoryType", string.Empty); this._themeService = themeFactory.Invoke(chosenThemeRepository); this._pagesService = pageFactory.Invoke(chosenPagesRepository); }
public ShopifyImportService( IShopifyRepository shopifyRepository, IShopifyConverter shopifyConverter, IPushNotificationManager notifier, IItemService productService, ICategoryService categoryService, ICatalogSearchService searchService, IThemeService themeService, IPricingService pricingService, IPropertyService propertyService, IPagesService pagesService) { _shopifyRepository = shopifyRepository; _shopifyConverter = shopifyConverter; _notifier = notifier; _productService = productService; _categoryService = categoryService; _searchService = searchService; _themeService = themeService; _pricingService = pricingService; _propertyService = propertyService; _pagesService = pagesService; }
public PagesController(IPagesService pagesService) { _pagesService = pagesService; }
public ContentController(IPagesService pagesService, IMenuService menuService) { this._pagesService = pagesService; this._menuService = menuService; }
public PagesController() { this.data = new UoWData(); this.pagesService = new PagesService(data); }
public PagesController(IPagesService pageservice, ISideBarService sidebarservice) { _pageservice = pageservice; _SideBarService = sidebarservice; }
public PagesController(IPagesService pages) { _pages = pages; }