Exemplo n.º 1
0
 public VideoWatchedController(IVideoWatchedService video, IVideoService videoService
                               , IUserService userService, INotificationService notificationService,
                               IPlayListService playlist)
 {
     _videoWatched        = video;
     _videoService        = videoService;
     _userService         = userService;
     _notificationService = notificationService;
     _playListService     = playlist;
 }
 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;
 }