public IndividualCategoryResponse UpdateCategory(Category category) { var body = new { category }; return GenericPut<IndividualCategoryResponse>(string.Format("categories/{0}.json", category.Id), body); }
public IndividualCategoryResponse CreateCategory(Category category) { var body = new {category}; return GenericPost<IndividualCategoryResponse>(string.Format("categories.json"), body); }