TradeMe.Api.Client.Client.AddPhotoToListing C# (CSharp) Method

AddPhotoToListing() public method

Performs the Photo Method: Adds a photo to an auction. The currently authenticated user must be the seller.Remove a photo.

REQUIRES AUTHENTICATION.
public AddPhotoToListing ( string photoId, string listingId ) : System.Xml.Linq.XDocument
photoId string The id of the photo to add.
listingId string The ID of the listing to add the photo to.
return System.Xml.Linq.XDocument
        public XDocument AddPhotoToListing(string photoId, string listingId)
        {
            if (_photo == null)
            {
                _photo = new PhotoMethods(_connection);
            }

            return _photo.AddPhotoToListing(photoId, listingId);
        }
Client