예제 #1
0
 public BlogController(INewsGroupService newsGroupService, INewsService newsService, IUserService userService, INewsCommentService newsCommentService)
 {
     _newsGroupService   = newsGroupService;
     _newsService        = newsService;
     _userService        = userService;
     _newsCommentService = newsCommentService;
 }
        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 NewsCommentsController(ICategoryService categoryService, INewsCommentService newsCommentService, AdminAreaSettings adminAreaSettings) : base(adminAreaSettings)
 {
     _categoryService    = categoryService;
     _newsCommentService = newsCommentService;
 }
예제 #4
0
 public CommentController(INewsCommentService newsCommentService)
 {
     _newsCommentService = newsCommentService;
 }
예제 #5
0
 public NewsCommentsController(INewsCommentService commentService, UserManager <ApplicationUser> userManager)
 {
     this.commentService = commentService;
     this.userManager    = userManager;
 }