diff --git a/BrickOwlSharp.Demos/CatalogDemo.cs b/BrickOwlSharp.Demos/CatalogDemo.cs index 52d2b52..b91ecd4 100644 --- a/BrickOwlSharp.Demos/CatalogDemo.cs +++ b/BrickOwlSharp.Demos/CatalogDemo.cs @@ -33,6 +33,7 @@ internal void Run() { IBrickOwlClient client = BrickOwlClientFactory.Build(); + // lookup a single design id Task> boids = client.CatalogIdLookupAsync("3005", ItemType.Part, IdType.DesignId); // brick 1x1 boids.Wait(); @@ -40,11 +41,9 @@ internal void Run() Task> availability = client.CatalogAvailabilityAsync("737117-39", "DE"); availability.Wait(); - // retrieve a single catalog item Task item = client.CatalogLookupAsync("737117-39"); - item.Wait(); - + item.Wait(); // retrieve the entire catalog Task> catalog = client.GetCatalogAsync();