title: ASP.NET MVC 4 Passing Object Variable Through ActionLink
body: <p>I have an ASP.NET MVC 4 application. There is a razor view in my application that works with List type as a model.</p>
  
  <pre><code>@model List&lt;MeetingLog.Models.UserModel&gt;
  
  @{
      Layout = null;
  }
  .
  .
  .
  </code></pre>
  
  <p>I am iterating through Model variable like this:</p>
  
  <pre><code>@foreach (var item in Model)
                  {
                      &lt;tr&gt;
                          &lt;td&gt;
                              @item.Name
                          &lt;/td&gt;
                          &lt;td&gt;
                              @item.Surname
                          &lt;/td&gt;
                          &lt;td&gt;
                              @Html.ActionLink("Click", "SavePerson", "Meeting", new {model = item, type = "coordinator"}, null)
                              @Html.ActionLink("Click", "SavePerson", "Meeting", new {model = item, type = "participant"}, null)
                          &lt;/td&gt;
                      &lt;/tr&gt;
                  }
  </code></pre>
  
  <p>I need to pass two variables to SavePerson action with action links. First one is current UserModel, and second one is string variable named type. But in my action first parameter comes through as null. But string parameter comes correctly. How can I achieve this? </p>