Esempio n. 1
0
 public VideoPostsController(IPostsService postsService,
                             IVideoPostsNewest videoNewestService,
                             IVideoPostsOldest videoOldestService,
                             IVideoPostsLeastLikes videoLeastLikesService,
                             IVideoPostsMostLikes videoMostLikesService,
                             IVideoPostsMostDislikes videoMostDislikesService,
                             IVideoPostsLeastDislikes videoLeastDislikesService,
                             IVideoPostsLongest videoLongestService,
                             IVideoPostsShortest videoShortestService)
 {
     this.postsService              = postsService;
     this.videoNewestService        = videoNewestService;
     this.videoOldestService        = videoOldestService;
     this.videoLeastLikesService    = videoLeastLikesService;
     this.videoMostLikesService     = videoMostLikesService;
     this.videoMostDislikesService  = videoMostDislikesService;
     this.videoLeastDislikesService = videoLeastDislikesService;
     this.videoLongestService       = videoLongestService;
     this.videoShortestService      = videoShortestService;
 }
Esempio n. 2
0
 public VideosPostsAjaxController(IPostsService postsService, HtmlEncoder encoder,
                                  IVideoPostsNewest videoNewestService,
                                  IVideoPostsOldest videoOldestService,
                                  IVideoPostsLeastLikes videoLeastLikesService,
                                  IVideoPostsMostLikes videoMostLikesService,
                                  IVideoPostsMostDislikes videoMostDislikesService,
                                  IVideoPostsLeastDislikes videoLeastDislikesService,
                                  IVideoPostsLongest videoLongestService,
                                  IVideoPostsShortest videoShortestService)
 {
     this.postsService              = postsService;
     this.encoder                   = encoder;
     this.videoNewestService        = videoNewestService;
     this.videoOldestService        = videoOldestService;
     this.videoLeastLikesService    = videoLeastLikesService;
     this.videoMostLikesService     = videoMostLikesService;
     this.videoMostDislikesService  = videoMostDislikesService;
     this.videoLeastDislikesService = videoLeastDislikesService;
     this.videoLongestService       = videoLongestService;
     this.videoShortestService      = videoShortestService;
 }