예제 #1
0
 public IndividualTopicCommentResponse CreateTopicComment(long topicId, TopicComment topicComment)
 {
     var body = new { topic_comment = topicComment };
     return GenericPost<IndividualTopicCommentResponse>(string.Format("topics/{0}/comments.json", topicId), body);
 }
예제 #2
0
 public IndividualTopicCommentResponse UpdateTopicComment(TopicComment topicComment)
 {
     var body = new { topic_comment = topicComment};
     return GenericPut<IndividualTopicCommentResponse>(string.Format("topics/{0}/comments/{1}.json", topicComment.TopicId, topicComment.Id), body);
 }