public bool UsePhotoAsCover(int photoId, int albumId, int? ownerId)
{
this.Manager.Method("photos.makeCover");
this.Manager.Params("pid", photoId);
this.Manager.Params("aid", albumId);
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;
}