예제 #1
0
 public void AddCollection(Collection collection)
 {
     var data = downloadWebPage(getFullUrl("admin/collections.xml"), HttpMethod.POST, collection.ToXElement().ToString());
     var x = XDocument.Parse(data).Root;
     collection.LoadXElement(x);
 }