Learning the ASP MVC now, just my 3rd week on MVC
I did some tests on modeling pass, basically the controller just get the model, and pass into the view without doing an
You need to have getter and setter for ViewModel in order to retrieve the values from posted form.
ViewModel
public class ViewModel { public string str1 { get; set; } public string str2 { get; set; } public List list { get; set; } }