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