Example #1
0
 public void DeletePost(BlogPostDto post)
 {
     client.Delete(new DeletePostRequest { PostId = post.Id });
 }
Example #2
0
 public void AddPost(BlogPostDto post)
 {
     client.Post(new AddPostRequest { Title = post.Title, Text = post.Text });
 }