public bool ReorderAlbums(int albumId, int before, int after, int? ownerId)
{
this.Manager.Method("photos.reorderAlbums");
this.Manager.Params("aid", albumId);
this.Manager.Params("before", before);
this.Manager.Params("after", after);
if (ownerId != null)
{
this.Manager.Params("oid", ownerId);
}
XmlNode result = this.Manager.Execute().GetResponseXml();
if (this.Manager.MethodSuccessed)
{
XmlUtils.UseNode(result);
return XmlUtils.BoolVal();
}
return false;
}