Пример #1
0
 public HomeController(
     IHomePageQuery homePageQuery,
     IPageBuilderInitializer pageBuilderInitializer,
     IOutputCacheDependencies outputCacheDependencies,
     ISiteMetaService <SiteMeta> siteMetaService)
 {
     this.homePageQuery           = homePageQuery;
     this.pageBuilderInitializer  = pageBuilderInitializer;
     this.outputCacheDependencies = outputCacheDependencies;
     this.siteMetaService         = siteMetaService;
 }
Пример #2
0
 public SiteController(ISiteMetaService <SiteMeta> siteMetaService) =>
 this.siteMetaService = siteMetaService;