예제 #1
0
 public void UpdateCategory(Category category)
 {
     var data = downloadWebPage(getFullUrl("admin/categories/" + category.ID + ".xml"), HttpMethod.PUT, category.ToXElement().ToString());
     var x = XDocument.Parse(data).Root;
     category.LoadXElement(x);
 }