public bool MovePhoto(int photoId, int toAlbumId, int? ownerId)
{
this.Manager.Method("photos.move");
this.Manager.Params("pid", photoId);
this.Manager.Params("target_aid", toAlbumId);
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;
}