Example #1
0
 public void DeleteComment(CommentDto comment)
 {
     client.Delete(new DeleteCommentRequest { CommentId = comment.Id });
 }
Example #2
0
 public void AddComment(CommentDto comment)
 {
     client.Post(new AddCommentRequest { Text = comment.Text, PostId = comment.Post.Id });
 }