TradeMe.Api.Client.CatalogueMethods.GetMotorbikeMakes C# (CSharp) Method

GetMotorbikeMakes() public method

Performs the category method: Retrieves a list of all motorbike makes. Can be used when searching. GET

DOES NOT REQUIRE AUTHENTICATION.
public GetMotorbikeMakes ( ) : MotorbikeMakeCollection
return MotorbikeMakeCollection
        public MotorbikeMakeCollection GetMotorbikeMakes()
        {
            var url = String.Format(Constants.Culture, "{0}{1}", "MotorbikeMakes", Constants.XML);

            var getRequest = _connection.UnauthenticatedConnection(url);
            var xml = getRequest.ToString();

            return Deserializer<MotorbikeMakeCollection>.Deserialize(new MotorbikeMakeCollection(), xml);
        }