title: ASP.NET MVC routing without unnecessary text
body: <p>I have a problem with my MVC. Think like a URL.</p>
  
  <p>domain.com/product/any-product/1</p>
  
  <p>domain.com/category/any-category/1</p>
  
  <p><strong>Can I change url like this?:</strong></p>
  
  <p>domain.com/any-product/1</p>
  
  <p>domain.com/any-category/1</p>
  
  <p>Also can I delete id?</p>
  
  <pre><code>context.MapRoute(
      name: "category",
      url: "category/{category_name}/{category_id}",
      defaults: new
      {
          controller = "Cateogory",
          action = "Index",
          Area = "Shop"
      }
  );
  
  context.MapRoute(
      name: "product_detail",
      url: "product/{category}/{product_name}/{product_id}",
      defaults: new
      {
          controller = "Product",
          action = "ProductDetail",
          Area = "Shop",
          product_name = UrlParameter.Optional,
          product_id = UrlParameter.Optional
      }
  );
  </code></pre>