public HomeHelper(IBlogPostService blogPostService, IPageService pageService, ICategoryService categoryService, ISettingService settingService, IBlogViewModelHelper blogViewModelHelper) { this.blogPostService = blogPostService; this.pageService = pageService; this.categoryService = categoryService; this.settingService = settingService; this.blogViewModelHelper = blogViewModelHelper; }
public BlogController( IBlogPostService blogPostService, ICategoryService categoryService, ITagService tagService, IStatsService statsService, ISettingService settingService, IHomeHelper homeHelper, IBlogViewModelHelper blogViewModelHelper, IDistributedCache distributedCache) { this.blogPostService = blogPostService; this.categoryService = categoryService; this.tagService = tagService; this.statsService = statsService; this.settingService = settingService; this.homeHelper = homeHelper; this.blogViewModelHelper = blogViewModelHelper; this.distributedCache = distributedCache; }