title: Pass parameters to a function through a link HREF
body: <p>I have a function in the HomeController class. Its signature is the following:</p>
  
  <pre><code>public ActionResult ChangeCulture(string lang, string returnUrl)
  </code></pre>
  
  <p>So from a partial shared view I am trying to call this function and passing its parameters by doing the following:</p>
  
  <pre><code>&lt;a href="/Home/ChangeCulture/\"es-ES\"?this.Request.RawUrl" class="flag"&gt;&lt;img src="~/images/SpanishFlag.png"/&gt;&lt;/a&gt;
  </code></pre>
  
  <p>but it does not work. I want to pass first parameter "es-ES" and second parameter that is <code>this.Request.RawUrl</code> to the function.</p>
  
  <p>how to do this?</p>
  
  <p>I do not want to use and <code>Html.ActionLink</code></p>