public CommentController(ICommentService commentService, PlMapper profile) { _commentService = commentService; _mapper = profile.GetMapper(); }
public ArticleController(IArticleService articleService, PlMapper profile) { _articleService = articleService; _mapper = profile.GetMapper(); }