Пример #1
0
 public MenuAdminController(
     IMenuAdminManager menuAdminManager,
     IMenuAdminPresenter menuAdminPresenter,
     IMenuCache menuCache,
     IServiceProvider serviceProvider) : base(serviceProvider)
 {
     this.menuAdminManager   = menuAdminManager;
     this.menuAdminPresenter = menuAdminPresenter;
     this.menuCache          = menuCache;
 }
Пример #2
0
 public CacheAdminController(
     IComponentsCache componentsCache,
     ICategoriesCache categoriesCache,
     IMenuCache menuCache,
     SpamProtectionCache spamProtectionCache,
     IMailTemplatesCache mailTemplatesCache,
     IConfigurationRoot configurationRoot,
     IDynamicConfigCache dynamicConfigCache,
     IServiceProvider serviceProvider) : base(serviceProvider)
 {
     this.componentsCache     = componentsCache;
     this.categoriesCache     = categoriesCache;
     this.menuCache           = menuCache;
     this.spamProtectionCache = spamProtectionCache;
     this.mailTemplatesCache  = mailTemplatesCache;
     this.configurationRoot   = configurationRoot;
     this.dynamicConfigCache  = dynamicConfigCache;
 }
Пример #3
0
 public MenuController(
     IMenuCache menuCache,
     IServiceProvider serviceProvider) : base(serviceProvider)
 {
     this.menuCache = menuCache;
 }