public bool ReorderPhotos(int photoId, int before, int after, int? ownerId)
{
this.Manager.Method("photos.reorderAlbums");
this.Manager.Params("pid", photoId);
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;
}