title: WebApi 2 Building nested route using attribute routing. Results in mapping to two controllers at the same time
body: <p>I have two controllers one named "Products" and the other "ProductsGroup"</p>
  
  <pre><code>[RoutePrefix("api/{clientUrl}/products")]
  public class ProductsController : BaseApiController
  {
      /// &lt;summary&gt;
      /// Get all products from a client
      /// &lt;/summary&gt;
      /// &lt;returns&gt;&lt;/returns&gt;
      [Route("")]
      public HttpResponseMessage Get()
      {
          var model = Repository.GetProducts(ClientId).Select(p =&gt; ModelFactory.Create&lt;ProductsModel&gt;(p));
          return Request.CreateResponse(HttpStatusCode.OK, model);
      }
  }
  
  [RoutePrefix("api/{clientUrl}/products/groups")]
  public class ProductGroupsController : BaseApiController
  {
      /// &lt;summary&gt;
      /// Get all productgroups
      /// &lt;/summary&gt;
      /// &lt;returns&gt;&lt;/returns&gt;
      [Route("")]
      public HttpResponseMessage Get()
      {
          var model = Repository.GetProductGroups(ClientId);
          return Request.CreateResponse(HttpStatusCode.OK, model);
      }
  }
  </code></pre>
  
  <p>When i route like this the ProductGroupsController i not accessable due to "Multiple controller types were found that match the URL"</p>
  
  <p>Is it possible to make the routing ignore the "products" part of the url and only map to the productgroupscontroller?</p>