Exemple #1
0
 public CommonController(
     SmartDbContext db,
     IGeoCountryLookup countryLookup,
     ICookieConsentManager cookieConsentManager,
     Lazy <IMediaService> mediaService,
     ILanguageService languageService,
     UrlPolicy urlPolicy,
     IWebHelper webHelper,
     IThemeContext themeContext,
     IThemeRegistry themeRegistry,
     ThemeSettings themeSettings,
     SeoSettings seoSettings,
     LocalizationSettings localizationSettings,
     PrivacySettings privacySettings)
 {
     _db                   = db;
     _countryLookup        = countryLookup;
     _cookieConsentManager = cookieConsentManager;
     _mediaService         = mediaService;
     _languageService      = languageService;
     _urlPolicy            = urlPolicy;
     _webHelper            = webHelper;
     _themeContext         = themeContext;
     _themeRegistry        = themeRegistry;
     _themeSettings        = themeSettings;
     _seoSettings          = seoSettings;
     _localizationSettings = localizationSettings;
     _privacySettings      = privacySettings;
 }
Exemple #2
0
 public SettingController(
     SmartDbContext db,
     ILocalizedEntityService localizedEntityService,
     StoreDependingSettingHelper storeDependingSettingHelper,
     IDateTimeHelper dateTimeHelper,
     ICookieConsentManager cookieManager,
     Lazy <IMediaTracker> mediaTracker,
     Lazy <IMenuService> menuService,
     PrivacySettings privacySettings)
 {
     _db = db;
     _localizedEntityService      = localizedEntityService;
     _storeDependingSettingHelper = storeDependingSettingHelper;
     _dateTimeHelper  = dateTimeHelper;
     _cookieManager   = cookieManager;
     _mediaTracker    = mediaTracker;
     _menuService     = menuService;
     _privacySettings = privacySettings;
 }
 public TopicWidgetViewComponent(ICookieConsentManager cookieManager)
 {
     _cookieManager = cookieManager;
 }