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