示例#1
0
 public CardDetailController(ICardDetailRepository repository,
                             IVideoCommentRepository vcRepository,
                             IVideoCommentReplyRepository vcrRepository,
                             IVideoPostLikeRepository vplRepository,
                             IVideoCommentLikeRepository vclRepository,
                             IVideoCommentReplyLikeRepository vcrlRepository,
                             IVideoPostRepository vpRepository,
                             INotificationRepository nRepository,
                             IMinimumCostOfLivingRepository mcolRepository,
                             IMyVideosRepository mvRepository,
                             ICurrencyRatesService currencyRate,
                             IYouTubeService youTube,
                             IClientIPService clientIP,
                             IMessageService email,
                             UserManager <ApplicationUser> userManager)
 {
     _repository     = repository;
     _vcRepository   = vcRepository;
     _vcrRepository  = vcrRepository;
     _vplRepository  = vplRepository;
     _vclRepository  = vclRepository;
     _vcrlRepository = vcrlRepository;
     _vpRepository   = vpRepository;
     _nRepository    = nRepository;
     _mcolRepository = mcolRepository;
     _mvRepository   = mvRepository;
     _currencyRate   = currencyRate;
     _youTube        = youTube;
     _clientIP       = clientIP;
     _email          = email;
     _userManager    = userManager;
 }
示例#2
0
 public PostController(IImagePostRepository imagePostRepository, IVideoPostRepository videoPostRepository, IQuotePostRepository quotePostRepository, ICommentRepository commentRepository, IUserRepository userRepository, IPostRepository postRepository)
 {
     _imagePostRepository = imagePostRepository;
     _videoPostRepository = videoPostRepository;
     _quotePostRepository = quotePostRepository;
     _userRepository      = _userRepository;
     _commentRepository   = commentRepository;
     _postRepository      = postRepository;
 }
 public AdminController(IAdminRepository repository,
                        IVideoPostRepository vpRepository,
                        ISalaryInfoRepository siRepository,
                        IUploaderRepository uRepository,
                        IYouTubeService youTube,
                        UserManager <ApplicationUser> userManager)
 {
     _repository   = repository;
     _vpRepository = vpRepository;
     _siRepository = siRepository;
     _uRepository  = uRepository;
     _youTube      = youTube;
     _userManager  = userManager;
 }
示例#4
0
 public RankingController(IRankingRepository repository,
                          IVideoPostRepository vpRepository)
 {
     _repository   = repository;
     _vpRepository = vpRepository;
 }
 public SearchVideoController(IVideoPostRepository vpRepository,
                              IHomeRepository hRepository)
 {
     _vpRepository = vpRepository;
     _hRepository  = hRepository;
 }