title: MVC 4.5 Web API Routing not working?
body: <p>The 1st route works.  </p>
  
  <p>e.g. <code>api/Shelves/SpaceTypes/1</code></p>
  
  <p>The 2nd route doesn't work. I get multiple actions error.</p>
  
  <p>e.g <code>api/Shelves/1</code></p>
  
  <p><strong>Q) Why?</strong></p>
  
  <p>These are my routes:</p>
  
  <pre><code>config.Routes.MapHttpRoute(
      "DefaultApiWithAction",
      "api/{controller}/{action}/{id}"
  );
  
  config.Routes.MapHttpRoute(
      "DefaultApiWithId",
      "api/{controller}/{id}",
      null,
      new { id = @"\d+" }
  );
  </code></pre>
  
  <p>This is my controller:</p>
  
  <pre><code>public HttpResponseMessage Get(int id)
  {
       ...
  }
  
  [ActionName("SpaceTypes")]
  public HttpResponseMessage GetSpaceTypes(int id)
  {
       ...
  }
  </code></pre>