Example #1
0
 public SuperadminController([FromServices]
                             IUserService userService,
                             ISpecialistService specialistService,
                             ISessionService sessionService,
                             IReviewService reviewService,
                             IProblemService problemService,
                             IProblemImageService problemImageService,
                             IProblemResourceService problemResourceService,
                             IClientVideoReviewService videoReviewService,
                             IFileService fileService,
                             IArticleService articleService,
                             IArticleLikeService articleLikeService,
                             IArticleCommentService articleCommentService,
                             IArticlePublishService articlePublishService)
 {
     UserService            = userService;
     SpecialistService      = specialistService;
     SessionService         = sessionService;
     ReviewService          = reviewService;
     ProblemService         = problemService;
     ProblemImageService    = problemImageService;
     ProblemResourceService = problemResourceService;
     VideoReviewService     = videoReviewService;
     FileService            = fileService;
     ArticleService         = articleService;
     ArticleLikeService     = articleLikeService;
     ArticleCommentService  = articleCommentService;
     ArticlePublishService  = articlePublishService;
 }
Example #2
0
 public ArticleController(IArticleService articleService, IArticleCommentService articleCommentService, IReportService reportService, IConfigInfoService configInfoService)
 {
     _articleService = articleService;
     _articleCommentService = articleCommentService;
     _reportService = reportService;
     _configInfoService = configInfoService;
 }
Example #3
0
 public CommentController(IArticleCommentService articlecommentService, IUserActivityService userActivityService,
                          IUserService userService)
 {
     _articlecommentService = articlecommentService;
     _userActivityService   = userActivityService;
     _userService           = userService;
 }
Example #4
0
 public SpecialistController([FromServices]
                             IUserService userService,
                             IArticleLikeService articleLikeService,
                             IArticleCommentService articleCommentService,
                             IArticlePublishService articlePublishService,
                             ISpecialistService specialistService,
                             IReviewService reviewService,
                             ISessionService sessionService,
                             IProblemService problemService,
                             IProblemImageService problemImageService,
                             IProblemResourceService problemResourceService,
                             IProblemResourceTaskService problemResourceTaskService,
                             SessionsTimerService sessionsTimerService)
 {
     UserService                = userService;
     ArticleLikeService         = articleLikeService;
     ArticleCommentService      = articleCommentService;
     ArticlePublishService      = articlePublishService;
     SpecialistService          = specialistService;
     ReviewService              = reviewService;
     SessionService             = sessionService;
     ProblemService             = problemService;
     ProblemImageService        = problemImageService;
     ProblemResourceService     = problemResourceService;
     ProblemResourceTaskService = problemResourceTaskService;
     SessionsTimerService       = sessionsTimerService;
 }
Example #5
0
 public ArticleCommentController(IArticleCommentService newsService,
                                 IArticleCommentThumbUpService articleCommentThumbUpService,
                                 IWechatMPUserService wechatMPUserService,
                                 IAddressBookService addressBookService,
                                 IArticleInfoService articleInfoService) : base(newsService)
 {
     this._articleCommentThumbUpService = articleCommentThumbUpService;
     this._articleCommentService        = newsService;
     this._wechatMPUserService          = wechatMPUserService;
     this._addressBookService           = addressBookService;
     this._articleInfoService           = articleInfoService;
 }
        public CommentController(INewsCommentService newsCommentService, IUserService _userService,
                                 INewsCommentReplyService newsCommentReplyService, INewsService _newsService,
                                 IArticleCommentService _articleCommentService,
                                 IArticleCommentReplyService _articleCommentReplyService, IArticleService _articleService

                                 )
        {
            this._newsCommentService      = newsCommentService;
            this._userService             = _userService;
            this._newsCommentReplyService = newsCommentReplyService;
            this._newsService             = _newsService;

            this._articleCommentService      = _articleCommentService;
            this._articleCommentReplyService = _articleCommentReplyService;
            this._articleService             = _articleService;
        }
 public ArticlesController([FromServices]
                           IArticleService articleService,
                           IArticleLikeService articleLikeService,
                           IArticleCommentService articleCommentService,
                           IArticlePublishService articlePublishService,
                           IUserService userService,
                           ISpecialistService specialistService,
                           IReviewService reviewService,
                           IFileService fileService)
 {
     ArticleService        = articleService;
     ArticleLikeService    = articleLikeService;
     ArticleCommentService = articleCommentService;
     ArticlePublishService = articlePublishService;
     UserService           = userService;
     SpecialistService     = specialistService;
     ReviewService         = reviewService;
     FileService           = fileService;
 }
Example #8
0
 public ArticleCommentsController(IArticleCommentService articleCommentService)
 {
     _articleCommentService = articleCommentService;
 }
Example #9
0
 public ArticleCommentController(IArticleCommentService articleCommentService, UserManager <ApplicationUser> userManager)
 {
     this.articleCommentService = articleCommentService;
     this.userManager           = userManager;
 }
Example #10
0
 public ArticleController(IArticleService musicBll, IArticleCommentService ArticleCommentService)
 {
     _articleBll = musicBll;
     _ArticleCommentService = ArticleCommentService;
 }
Example #11
0
 public ArticleCommentsController(UserManager <User> userManager, IArticleCommentService comments)
 {
     this.userManager = userManager;
     this.comments    = comments;
 }