예제 #1
0
 public IndividualTopicResponse CreateTopic(Topic topic)
 {
     var body = new {topic};
     return GenericPost<IndividualTopicResponse>(string.Format("topics.json"), body);
 }
예제 #2
0
 public IndividualTopicResponse UpdateTopic(Topic topic)
 {
     var body = new { topic };
     return GenericPut<IndividualTopicResponse>(string.Format("topics/{0}.json", topic.Id), body);
 }