title: MVC Passing Item Object from View to Controller
body: <p>First of all, I would like to show you my code.</p>
  
  <p>Model:</p>
  
  <pre><code>public class Member
  {
      public string Name { get; set; }
      public string MembershipType { get; set; }
      public DateTime RegisterDate { get; set; }
  }
  </code></pre>
  
  <p>Controller:</p>
  
  <pre><code>public ActionResult List()
  {
      var model = Session["members"] as Members;
      return View(model);
  }
  </code></pre>
  
  <p>View:</p>
  
  <pre><code>@if (Session["members"] != null)
  {
      var ListOfItems = Session["members"] as List&lt;Member&gt;;
      foreach (var item in ListOfItems)
      {
           &lt;tr&gt;
               &lt;td&gt;
                   @Html.ActionLink(item.RegisterDate.ToString(), "AddMemberTo", new { item })
  </code></pre>
  
  <p>As you can see from the code what I am trying to do is to pass the value of <code>Name</code>, <code>MembershipType</code> and <code>RegisterDate</code> from the View back to the Controller, so from Action I can retrieve the data. I send the data one by one but I am just wondering whether if its possible to send the object/item so from the controller I can access by Member.Name something like that</p>