title: Passing value to a HREF in a Razor view in ASP.Net MVC3
body: <pre><code>   &lt;a href="@(Html.MyActionHref(controllerName: "MyController", actionName: "MyAction"))"&gt;
  </code></pre>
  
  <p>The above line generates a hyperlink for Razor view. The html helper method MyActionHref() creates the link. On clicking the link it calls an action method from controller. Now suppose the action controller method which this link calls is parameterized i.e.<br>
  <code>public ActionResult MyAction(string myParams){}</code><br>
  (The html helper method MyActionHref() is even overloaded to accept three parameters accordingly.)</p>
  
  <p><strong>How this additional parameter can be passed to the controller action method from the model?</strong><br>
  Say,</p>
  
  <pre><code>&lt;a href="@(Html.MyActionHref(controllerName: "MyController", actionName: "MyAction",params: new {....} }))"&gt;  
  </code></pre>
  
  <p>Any suggestions?</p>