title: ASP.NET Razor: add to Model moved List box items from another list box
body: <p>I have 2 list boxes like below:</p>
  
  <pre><code>@Html.ListBox("SelectedList",(IEnumerable&lt;SelectListItem&gt;)ViewBag.SelectedList, new { @class="listbox" , id="list2" })
  &lt;input id="btnAdd" type="Button" class="submit"  value="Add"/&gt;
  &lt;input id="btnRemove" type="Button" class="submit" value="Remove"/&gt;
  @Html.ListBox("NonSelectedList",(IEnumerable&lt;SelectListItem&gt;)ViewBag.NonSelectedList,new { @class="listbox" , id="list2" })
  </code></pre>
  
  <p>I move the items between lists using add and remove buttons.
  Everything working fine but I want to add the selected Items to my Model object.
  Is there a way i can do that?</p>