title: T4MVC to have generated formatted URL (SEO)
body: <p>1) What is the best solution for working with T4MVC to have generated formatted URL (SEO) </p>
  
  <p>I want to <code>MVC.AGENCY.INDEX (int? Page, int IdAgency)</code></p>
  
  <pre><code>   http://localhost:30120/Agency/AgencyName
  </code></pre>
  
  <p>instead</p>
  
  <pre><code>http://localhost:30120/Agency?page=0&amp;IdAgence=2
  </code></pre>
  
  <p>I can have this</p>
  
  <pre><code>http://localhost:30120/Agency?page=0&amp;IdAgency=2&amp;agency=agencyName
  </code></pre>
  
  <p>with AddMaperoute() but I don't want (<code>Agency?page=0&amp;IdAgency=2</code>) in the URL</p>
  
  <p>maybe change the symbols &amp; and = by /?</p>
  
  <p>2) When I add</p>
  
  <blockquote>
    <p>I use
    <a href="http://blog.ashmind.com/2010/03/15/multiple-submit-buttons-with-asp-net-mvc-final-solution/" rel="nofollow">http://blog.ashmind.com/2010/03/15/multiple-submit-buttons-with-asp-net-mvc-final-solution/</a></p>
  </blockquote>
  
  <pre><code>&lt;input type="submit" name=="Agency" value="" class="button bbrightRed mr25" /&gt;
  
  
  public virtual ActionResult Agency (AgencyViewModel _AgencyViewModel)
  {
  ....
  View return (_AgencyViewModel). AddRouteValue ("AgencyName", AgencyName);
  }
  </code></pre>
  
  <p>I want add some information URL</p>
  
  <p>I have an exeption when i add <code>View return (_AgencyViewModel). AddRouteValue ("AgencyName", AgencyName)</code>;
  Incorrectly Called T4MVC WAS. You may Need to power to regenerate it by right clicking will be T4MVC.tt and Choosing Run Custom Tool</p>
  
  <p>My URL without AddRouteValue() is<code>http://localhost:30120/Agency</code>
  And I want</p>
  
  <pre><code>http://localhost:30120/Agency/Agancyname/fff-llll-mm
  </code></pre>