title: ASP.NET MVC - Extract parameter of an URL
body: <p>I'm trying to extract the parameters of my URL, something like this.</p>
  
  <p><em>/Administration/Customer/Edit/1</em></p>
  
  <h2><strong>extract:</strong> 1</h2>
  
  <p><em>/Administration/Product/Edit/18?allowed=true</em></p>
  
  <h2><strong>extract:</strong> 18?allowed=true</h2>
  
  <p><em>/Administration/Product/Create?allowed=true</em></p>
  
  <h2><strong>extract:</strong> ?allowed=true</h2>
  
  <p>Someone can help? Thanks!</p>