title: ASP.NET Web API Attribute Routing: RoutePrefix with Route Parameter
body: <p>Is it possible in ASP.NET to have a RoutePrefix attribute on an ApiController that contains a route parameter?</p>
  
  <pre><code>[RoutePrefix("api/parent/{pid}/child")]
  public class ChildController : ApiController
  {
      [Route("")]
      public HttpResponseMessage Get(object pid)
      {
          //...
      }
  
      [Route("{cid}"]
      public HttpResponseMessage Get(object pid, object cid)
      {
          //...
      }
  }
  </code></pre>
  
  <p>I would like to have the pid parameter accessible to all controller methods.</p>