public NormalPostsAjaxController(HtmlEncoder encoder,
                                  INormalPostsNewest normalPostNewestService,
                                  INormalPostsOldest normalPostOldestService,
                                  INormalPostsMostLikes normalPostMostLikesService,
                                  INormalPostsLeastLikes normalPostLeastLikesService,
                                  INormalPostsMostDislikes normalPostMostDislikesService,
                                  INormalPostsLeastDislikes normalPostLeastDislikesService)
 {
     this.encoder = encoder;
     this.normalPostNewestService        = normalPostNewestService;
     this.normalPostOldestService        = normalPostOldestService;
     this.normalPostMostLikesService     = normalPostMostLikesService;
     this.normalPostLeastLikesService    = normalPostLeastLikesService;
     this.normalPostMostDislikesService  = normalPostMostDislikesService;
     this.normalPostLeastDislikesService = normalPostLeastDislikesService;
 }
 public NormalPostsController(UserManager <ApplicationUser> userManager,
                              ITagsService tagsService,
                              IPostsService postsService,
                              INormalPostsNewest normalPostNewestService,
                              INormalPostsOldest normalPostOldestService,
                              INormalPostsMostLikes normalPostMostLikesService,
                              INormalPostsLeastLikes normalPostLeastLikesService,
                              INormalPostsMostDislikes normalPostMostDislikesService,
                              INormalPostsLeastDislikes normalPostLeastDislikesService)
 {
     this.userManager                    = userManager;
     this.tagsService                    = tagsService;
     this.postsService                   = postsService;
     this.normalPostNewestService        = normalPostNewestService;
     this.normalPostOldestService        = normalPostOldestService;
     this.normalPostMostLikesService     = normalPostMostLikesService;
     this.normalPostLeastLikesService    = normalPostLeastLikesService;
     this.normalPostMostDislikesService  = normalPostMostDislikesService;
     this.normalPostLeastDislikesService = normalPostLeastDislikesService;
 }