public NotificationController(INotificationService notification,
                               IUserService userService, IFollowChannelService follow)
 {
     _notifiService = notification;
     _userService   = userService;
     _followChannel = follow;
 }
Beispiel #2
0
 public UserController(IUserService userService, UserManager <AppUser> user, IFollowChannelService follow,
                       IVideoService video, IReportVideoService report, ICategoryService category,
                       IUserApiCient userApi)
 {
     _userService     = userService;
     _usermanager     = user;
     _followChanel    = follow;
     _videoService    = video;
     _reportService   = report;
     _categoryService = category;
     _userApiClient   = userApi;
 }
 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;
 }