Method WithID
WithID(string)
Gets a product matching an id
Declaration
public Product WithID(string id)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | The id of the desired product |
Returns
| Type | Description |
|---|---|
| Product | The product matching the id, or null if not found |