I'm trying to create an "item" page which is always inside an "inventory" using Razor Pages.
What I don't know is how to provide the id of the inventory to the item page
Let's say I have the following Pages structure
Pages
Inventories
Items
I assume I could have a route similar to /Inventories/{id}/Items/ and then /Inventories/{id}/Items/{itemid} to display a certain item but I'm not sure how. Or is there a better way to do it?