title: ASP.NET Core 2, OData v4 Attribute Routing
body: <p>Is it possible to achieve the below routes using the asp.net core 2, web api, odata v4.</p>
  
  <ul>
  <li>/odata/controller/Product/</li>
  <li>/odata/controller/Product/{param}/</li>
  <li>/odata/controller/Product/{param}/Users</li>
  <li>/odata/controller/Product/{param}/Companies</li>
  <li>/odata/controller/Product/Companies/{param}</li>
  </ul>
  
  <p>By using the attribute routing, declaring functions and customizing routes?</p>