title: C# WebApi AttributeRouting ; also possible to specify optional nullable integer
body: <p>Following this page : <a href="http://blogs.msdn.com/b/webdev/archive/2013/10/17/attribute-routing-in-asp-net-mvc-5.aspx" rel="nofollow">http://blogs.msdn.com/b/webdev/archive/2013/10/17/attribute-routing-in-asp-net-mvc-5.aspx</a></p>
  
  <p>These routes are supported:</p>
  
  <pre><code>[Route("users/{id:int}")]
  public ActionResult GetUserById(int id) { . . . }
  
  [Route("users/{id?}")]
  public ActionResult GetUserById(int? id) { . . . }
  </code></pre>
  
  <p>But it seems that <strong>optional Nullabble&lt; int ></strong> is not supported:</p>
  
  <pre><code>[Route("users/{id:int?}")]
  public ActionResult GetUserById(int? id) { . . . }
  </code></pre>
  
  <p>Is there a way to use this ?</p>