public CommentDTO UpdateComment(CommentDTO oldCommentDTO, CommentDTO newCommentDTO) { Comment oldComment = iMapper.Map <CommentDTO, Comment>(oldCommentDTO); Comment newComment = iMapper.Map <CommentDTO, Comment>(newCommentDTO); Comment comment = _svcPost.UpdateComment(oldComment, newComment); CommentDTO comm = iMapper.Map <Comment, CommentDTO>(comment); return(comm); }