Example #1
0
 public Issue Edit(string user, string repo, long number, SaveIssue issue)
 {
     return client.Post(issue, "repos/:user/:repo/issues/:number", new { user, repo, number }).OnOk().As<Issue>();
 }
Example #2
0
 public Issue Create(string user, string repo, SaveIssue issue)
 {
     return client.Post(issue, "repos/:user/:repo/issues", new { user, repo }).On(HttpStatusCode.Created).As<Issue>();
 }