title: How do I redirect to the previous action in ASP.NET MVC?
body: <p>Lets suppose that I have some pages</p>
  
  <ul>
  <li><code>some.web/articles/details/5</code></li>
  <li><code>some.web/users/info/bob</code></li>
  <li><code>some.web/foo/bar/7</code></li>
  </ul>
  
  <p>that can call a common utility controller like</p>
  
  <p><code>locale/change/es</code> or <code>authorization/login</code></p>
  
  <p>How do I get these methods (<code>change</code>, <code>login</code>) to redirect to the previous actions (<code>details</code>, <code>info</code>, <code>bar</code>) while passing the previous parameters to them (<code>5</code>, <code>bob</code>, <code>7</code>)?</p>
  
  <p>In short: How do I redirect to the page that I just visited after performing an action in another controller?</p>