Skip to content

Commit

Permalink
Update README examples
Browse files Browse the repository at this point in the history
  • Loading branch information
rolledback committed May 24, 2020
1 parent 0f8989c commit b88859b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,11 @@ query.addFilter(new ProductCategoryFilter()
);
query.query = "train";

await graphClient.productSearch(query);
ProductSearchResult result = await graphClient.productSearch(query);
foreach (Product product in result.products)
{
// do something with each product
}
```

## Contributing
Expand Down

0 comments on commit b88859b

Please sign in to comment.