title: MVC4 Allowing Users to Edit List Items
body: <p>Within a view model, I have the following list:</p>
  
  <pre><code>public List&lt;Foo&gt; ListOfFoos { get; set; }
  </code></pre>
  
  <p>The class <code>Foo</code> has the following properties:</p>
  
  <pre><code>public int id {get; set;}
  public string name {get; set;}
  public int number {get; set;}
  </code></pre>
  
  <p>I can output each <code>Foo</code> object in the <code>ListOfFoos</code> property using a <code>foreach</code> loop. I would like to be able to submit edited values upon submission of the form.</p>
  
  <p>Is there a way to do this? Will the new values simply be stored within the <code>ListOfFoos</code> list?</p>