コード例 #1
0
ファイル: BlogClient.cs プロジェクト: drypa/BlogSample_v2
 public void DeleteComment(CommentDto comment)
 {
     client.Delete(new DeleteCommentRequest { CommentId = comment.Id });
 }
コード例 #2
0
ファイル: BlogClient.cs プロジェクト: drypa/BlogSample_v2
 public void AddComment(CommentDto comment)
 {
     client.Post(new AddCommentRequest { Text = comment.Text, PostId = comment.Post.Id });
 }