public PhotoPostsController(IPostsService postsService,
                             IPhotoPostsNewest photoNewestService,
                             IPhotoPostsOldest photoOldestService,
                             IPhotoPostsLeastLikes photoLeastLikesService,
                             IPhotoPostsMostLikes photoMostLikesService,
                             IPhotoPostsMostDislikes photoMostDislikesService,
                             IPhotoPostsLeastDislikes photoLeastDislikesService)
 {
     this.postsService              = postsService;
     this.photoNewestService        = photoNewestService;
     this.photoOldestService        = photoOldestService;
     this.photoLeastLikesService    = photoLeastLikesService;
     this.photoMostLikesService     = photoMostLikesService;
     this.photoMostDislikesService  = photoMostDislikesService;
     this.photoLeastDislikesService = photoLeastDislikesService;
 }
 public ImagePostsAjaxController(IPostsService postsService, HtmlEncoder encoder,
                                 IPhotoPostsNewest photoNewestService,
                                 IPhotoPostsOldest photoOldestService,
                                 IPhotoPostsLeastLikes photoLeastLikesService,
                                 IPhotoPostsMostLikes photoMostLikesService,
                                 IPhotoPostsMostDislikes photoMostDislikesService,
                                 IPhotoPostsLeastDislikes photoLeastDislikesService,
                                 ICommentService commentService,
                                 UserManager <ApplicationUser> userManager)
 {
     this.postsService              = postsService;
     this.encoder                   = encoder;
     this.photoNewestService        = photoNewestService;
     this.photoOldestService        = photoOldestService;
     this.photoLeastLikesService    = photoLeastLikesService;
     this.photoMostLikesService     = photoMostLikesService;
     this.photoMostDislikesService  = photoMostDislikesService;
     this.photoLeastDislikesService = photoLeastDislikesService;
     this.commentService            = commentService;
     this.userManager               = userManager;
 }