Exemplo n.º 1
0
 public IndividualForumResponse UpdateForum(Forum forum)
 {
     var body = new { forum };
     return GenericPut<IndividualForumResponse>(string.Format("forums/{0}.json", forum.Id), body);
 }
Exemplo n.º 2
0
 public async Task<IndividualForumResponse> UpdateForumAsync(Forum forum)
 {
     var body = new { forum };
     return await GenericPutAsync<IndividualForumResponse>(string.Format("forums/{0}.json", forum.Id), body);
 }
Exemplo n.º 3
0
 public IndividualForumResponse CreateForum(Forum forum)
 {
     var body = new { forum };
     return GenericPost<IndividualForumResponse>("forums.json", body);
 }
Exemplo n.º 4
0
 public async Task<IndividualForumResponse> CreateForumAsync(Forum forum)
 {
     var body = new { forum };
     return await GenericPostAsync<IndividualForumResponse>("forums.json", body);
 }