private void Page_Load(object sender, EventArgs e) { _tagSearchService = new TagSearchService<SampleContent>(Sitecore.Context.Database.Name); }
public BlogController(BlogArticleSearchService blogArticleService, TagSearchService tagSearchService) { this.blogArticleService = blogArticleService; this.tagSearchService = tagSearchService; }