title: mvc httppost href parameters
body: <p>I'm currently working in ASP.NET MVC 4 with EF 4.0.
  I have an unordered list with listitems. Each listitem contains a name and address and is clickable. Now I want to make it so that, when I click the listitem, I go to a new View. This view is called UitgebreidPersoonScherm and is in thesame controller RelatieZoekenController.</p>
  
  <p>Here's the code I currently have: </p>
  
  <p>Controller:</p>
  
  <pre><code>[HttpPost]
  public ActionResult UitgebreidPersoonScherm(int psnID)
  {
      ViewBag.Message = "UitgebreidPersoonScherm";
  
      return View("UitgebreidPersoonScherm");
  }
  </code></pre>
  
  <p>View: </p>
  
  <pre><code>    @model MobileApp.Models.ZoekModel
      @{
          ViewBag.Title = " Resultaten";
      }
      @using (Html.BeginForm("UitgebreidPersoonScherm", "RelatieZoeken", FormMethod.Post, new { id = "resultForm" }))
      { &lt;ul data-role="listview" data-filter="true" data-inset="true" data-theme="g"&gt;
          @foreach (var adres in Model.AdresList)
          {            
              &lt;li&gt;
              &lt;a href='@Html.Action("UitgebreidPersoonScherm", "RelatieZoeken")'&gt;&lt;b&gt;@adres.Naam &lt;/b&gt;
                  &lt;br /&gt;@adres.Adres
              &lt;/a&gt;&lt;/li&gt;
          }
          &lt;/ul&gt;
  
  }
  </code></pre>
  
  <p>Now I wouldn't have a clue on how this is possible. I tried to make it with an actionlink, but it wouldn't show my data. If I remove the httppost I can get it to work, but without parameters. Currently it also doesn't give any parameters.</p>
  
  <p>If you need any extra information, just ask.</p>
  
  <p>Thanks.</p>