Beispiel #1
0
        public CommentViewModel UnDeleteComment(int commentId)
        {
            _dataProvider.UnDeleteComment(commentId);
            var comment = _dataProvider.GetCommentById(commentId);

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