public ArticlesController(IArticlePostService blogPostsService, UserManager <ApplicationUser> userManager, ICategoriesService categoriesService, ICloudinaryService cloudinaryService)
 {
     this.blogPostsService  = blogPostsService;
     this.userManager       = userManager;
     this.categoriesService = categoriesService;
     this.cloudinaryService = cloudinaryService;
 }
 public ArticlesHomePageController(ICategoriesService categories, IArticleHomePageService articles, IArticlePostService postService, UserManager <ApplicationUser> userManager)
 {
     this.categories  = categories;
     this.articles    = articles;
     this.postService = postService;
     this.userManager = userManager;
 }
Exemplo n.º 3
0
 public ArticlePostController(IArticlePostService articlePostService, ICacheManager cacheManager)
 {
     _articlePostService = articlePostService;
     _cacheManager       = cacheManager;
 }