Beispiel #1
0
 public Comment Edit(long id, SaveComment comment)
 {
     return client.Patch(comment, "gists/comments/:id", new { id }).OnOk().As<Comment>();
 }
Beispiel #2
0
 public Comment Create(long id, SaveComment comment)
 {
     return client.Post(comment, "gists/:id/comments", new { id }).On(HttpStatusCode.Created).As<Comment>();
 }