title: Asp.net Web API : No action was found on the controller
body: <p>I am using Visual Studi0 2010. In my <code>WebApiConfig.cs</code> file I have below config, I can map these two urls <code>/Values</code> and <code>/Values/1</code>. It is working fine.</p>
  
  <pre><code>config.Routes.MapHttpRoute(
              name: "DefaultApi",
              routeTemplate: "api/{controller}/{id}",
              defaults: new {id= RouteParameter.Optional  } 
          );
  </code></pre>
  
  <p>Since I wanted to my custom URL like <code>/Values/Machines</code> and <code>/Values/Machines/100</code>, I changed above setting to below.</p>
  
  <pre><code>config.Routes.MapHttpRoute(
              name: "DefaultApi",
              routeTemplate: "api/{controller}/{action}/{id}",
              defaults: new {action="get", id= RouteParameter.Optional  } 
          );
  </code></pre>
  
  <p>It is now mapping below urls except this one, <code>/Values/1</code>. Please let me know what I am missing.</p>
  
  <pre><code>1./Values
  2./Values/Machines
  3./Values/Machines/100
  </code></pre>
  
  <p>Thanks.</p>