Exemple #1
0
 public ArticlesController(IArticleBLL articleBll, IMapper mapper, IUserBLL userBll, ICommentBLL commentBll)
 {
     _articleBll = articleBll;
     _commentBll = commentBll;
     _userBll    = userBll;
     _mapper     = mapper;
 }
Exemple #2
0
 public CommentsController(ICommentBLL commentBll, IMapper mapper)
 {
     _commentBll = commentBll;
     _mapper     = mapper;
 }
 public CommentController(ICommentBLL bLL, ILogger <CommentController> logger)
 {
     commentBLL   = bLL;
     this._logger = logger;
 }
 public CommentController(ICommentBLL comment)
 {
     commentBLL = comment;
 }