Beispiel #1
0
        /// <summary>
        /// Edits the comment.
        /// </summary>
        /// <param name="requestComment">The request comment(new comment).</param>
        public void EditComment(EditCommentRequestModel requestComment)
        {
            commentDto = new CommentDto
            {
                ID      = requestComment.CommentID,
                Comment = requestComment.CommentText
            };

            torrentManager.EditComment(commentDto);
        }