title: How can i have multiple GET methods in single Controller
body: <pre><code>namespace EmployeeApi.Controllers
  {
      public class EmployeeDetailsController : ApiController
      {
          // GET api/employeedetails
          public IEnumerable&lt;Employee&gt; Get()
          {
  
  
          }
  
  
          public IEnumerable&lt;Details&gt; Get(int id)
          {
  
          }
  
          public IEnumerable&lt;Team&gt; GetTeamMember()
          {
  
          }
          public IEnumerable&lt;Details&gt; GetTid(int id)
          {
  
  
          }
  }
  
  
  I would like to have my webApi something like this:
  
  1)  IEnumerable&lt;Employee&gt; Get()         -&gt; api/employeedetails
  2)  IEnumerable&lt;Details&gt; Get(int id)    -&gt; api/employeedetails/id
  3)  IEnumerable&lt;Team&gt; GetTeamMember()   -&gt; api/employeedetails/id/teammember
  4)  IEnumerable&lt;Details&gt; GetTid(int id) -&gt; api/employeedetails/id/teammember/tid
  </code></pre>
  
  <p>I tried making changes to routing, but as I am new to it, could'nt understand much.So, please can some one help me understand and guide me on how this should be done.
      Thanks in advance..:)</p>