public IndividualTopicCommentResponse CreateTopicComment(long topicId, TopicComment topicComment) { var body = new { topic_comment = topicComment }; return GenericPost<IndividualTopicCommentResponse>(string.Format("topics/{0}/comments.json", topicId), body); }
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); }