public VideoController(IVideoService videoService, IUserService userService,
                        ICategoryService category, IFollowChannelService channelService, ILikeVideoService likeservice,
                        IFollowChannelService followChannel, ICommentService commentService,
                        INotificationService notification, IVideoWatchedService videoWatched,
                        IPlayListService playList, IDetailVideoService detail)
 {
     _videoService        = videoService;
     _userService         = userService;
     _categoryService     = category;
     _channelService      = channelService;
     _likeService         = likeservice;
     _followChannel       = followChannel;
     _commentService      = commentService;
     _notificationService = notification;
     _videoWatched        = videoWatched;
     _playListService     = playList;
     _detailService       = detail;
 }
 public HomeController(UserManager <AppUser> userManager,
                       SignInManager <AppUser> signInManager,
                       IUserService userService, IVideoService videoService,
                       ICommentService commentService, ILikeVideoService likeVideo,
                       IFollowChannelService channelService, ICategoryService categoryService,
                       IPlayListService playListService, IDetailVideoService detailVideo,
                       INotificationService notificationService, IUserApiCient userApiClient
                       )
 {
     _userManager         = userManager;
     _signInManager       = signInManager;
     _videoService        = videoService;
     _userService         = userService;
     _commentService      = commentService;
     _likeVideo           = likeVideo;
     _channelService      = channelService;
     _categoryService     = categoryService;
     _playListService     = playListService;
     _detaivideo          = detailVideo;
     _notificationService = notificationService;
     _userApiClient       = userApiClient;
 }
예제 #3
0
 public LikeVideoController(ILikeVideoService likeService, IVideoService video)
 {
     _likeService  = likeService;
     _videoService = video;
 }