title: How to filter result based url parameter in WebAPI?
body: <p>I have WebAPI url (<code>http://localhost:5134/api/TechDisci/00026</code>) which returns multiple TechDisciplines for user <code>00026</code>. <code>/TechDisci/</code> is the controller name and <code>Get</code> method returns JSON data. </p>
  
  <p>JSON data has primary and secondary values in the results set. Now User wants to filter this with <code>primary</code> and <code>secondary</code> by passing in url like this</p>
  
  <p><code>http://localhost:5134/api/TechDisci/00026/primary</code> and <code>http://localhost:5134/api/TechDisci/00026/secondary</code>.</p>
  
  <p>My java guys are able to this kind of url thing. How to handle samethig in WebAPI?</p>