title: MVC route with id and sub-action
body: <p>I can't figure out what I need to do with MVC routing to make this work</p>
  
  <p>Here's my one route:</p>
  
  <pre><code>routes.MapHttpRoute(
      name: "DefaultApi",
      routeTemplate: "{controller}/{id}/{action}",
      defaults: new { id = RouteParameter.Optional, action = RouteParameter.Optional }
  );
  </code></pre>
  
  <p>The request <strong>/Shipments/</strong> works great.</p>
  
  <p>The request <strong>/Shipments/3/Packages</strong> works great.</p>
  
  <p>The request <strong>/Shipments/3</strong> however fails with the error:</p>
  
  <blockquote>
    <p>Multiple actions were found that match the request:
    System.Linq.IQueryable`1[Api.Controllers.RequisitionsController+PackageRequisitionWithTracking]
    GetPackageRequisitions(Int32) on type
    Api.Controllers.RequisitionsController Api.Models.ShipmentRequisition
    GetShipmentRequisitions(Int32) on type
    Api.Controllers.RequisitionsController</p>
  </blockquote>
  
  <p>It can't seem to differentiate between:</p>
  
  <pre><code>// No ActionName    
  public ShipmentRequisition GetShipmentRequisitions(int id)
  </code></pre>
  
  <p>and </p>
  
  <pre><code>[ActionName("Packages")]
  public IQueryable&lt;PackageRequisitionWithTracking&gt; GetPackageRequisitions(int id)
  </code></pre>
  
  <p>I would have thought the lack of action name on the get shipment by id would allow that route to work.</p>