Esempio n. 1
0
        public CommentViewModel DeleteComment(int commentId)
        {
            _dataProvider.DeleteComment(commentId);
            var comment = _dataProvider.GetCommentById(commentId);

            return(_mapper.Map <CommentViewModel>(comment));
        }