title: Not a valid Odata path template
body: <p>I am trying to create Odata method that satisfy url like </p>
  
  <blockquote>
    <p>domain:port/products/100/RedirectUrl()</p>
  </blockquote>
  
  <pre><code>[ODataRoute("{id}/RedirectUrl()")]
  public IHttpActionResult RedirectUrl(int id)
  {
     return Redirect("myUrl" + id);
  }
  </code></pre>
  
  <p>but i got exception like </p>
  
  <blockquote>
    <p>The path template '{id}/RedirectUrl()' on the action 'RedirectUrl' in
    controller 'Products' is not a valid OData path template</p>
  </blockquote>
  
  <p>My Webapi config contains</p>
  
  <pre><code>ODataConventionModelBuilder builder = new ODataConventionModelBuilder();
  builder.EntitySet&lt;Product&gt;("Products");
  builder.EntityType&lt;Product&gt;().Function("RedirectUrl").Returns&lt;IHttpActionResult&gt;();
  </code></pre>
  
  <p>Any way to achieve this?</p>