title: No routing convention was found to select an action for the OData path with template '~/entityset'
body: <p>I have two Odata action methods defined. The one with parameter gets invoked while the other without parameter doesnt get invoked and throws error No routing convention was found to select an action for the OData path with template '~/entityset'.</p>
  
  <p>Here is the code of my action methods </p>
  
  <pre><code>[EnableQuery]
      public IQueryable&lt;User&gt; GetUser()
      {
          return db.Users;
      }
  
      // GET: odata/User(5)
      [EnableQuery]
      public SingleResult&lt;User&gt; GetUser([FromODataUri] int key)
      {
          return SingleResult.Create(db.Users.Where(user =&gt; user.Id == key));
      }
  </code></pre>
  
  <p>The query that I am using are as follows</p>
  
  <pre><code>http://bureauservice/api/odata/UserOdata - Doesnt work
  http://bureauservice/api/odata/UserOdata(1) - works
  </code></pre>
  
  <p>Could someone tell me why the first link doesnt work.</p>