public CommentViewModel DeleteComment(int commentId) { _dataProvider.DeleteComment(commentId); var comment = _dataProvider.GetCommentById(commentId); return(_mapper.Map <CommentViewModel>(comment)); }
public CommentViewModel DeleteComment(int commentId) { _dataProvider.DeleteComment(commentId); var comment = _dataProvider.GetCommentById(commentId); return(_mapper.Map <CommentViewModel>(comment)); }