title: The path template on the action in controller is not a valid OData path template
body: <p>I am getting the following error:</p>
  
  <blockquote>
    <p>The path template 'GetClients()' on the action 'GetClients' in controller 'Clients' is not a valid OData path template. Resource not found for the segment 'GetClients'.</p>
  </blockquote>
  
  <p>My controller method looks like this</p>
  
  <pre><code>public class ClientsController : ODataController
  {
      [HttpGet]
      [ODataRoute("GetClients(Id={Id})")]
      public IHttpActionResult GetClients([FromODataUri] int Id)
      {
          return Ok(_clientsRepository.GetClients(Id));
      }
  }
  </code></pre>
  
  <p>My <strong>WebAPIConfig</strong> file has</p>
  
  <pre><code>builder.EntityType&lt;ClientModel&gt;().Collection
         .Function("GetClients")
         .Returns&lt;IQueryable&lt;ClientModel&gt;&gt;()
         .Parameter&lt;int&gt;("Id");
  
  config.MapODataServiceRoute(
      routeName: "ODataRoute",
      routePrefix: "odata",
      model: builder.GetEdmModel());
  </code></pre>
  
  <p>I am hoping to be able to call the odata rest api like this:</p>
  
  <pre><code>http://localhost/odata/GetClients(Id=5)
  </code></pre>
  
  <p>Any idea what I am doing wrong?</p>