I would like to know how can I use my ViewModel on the Create Action? I tried several examples I found here in the forum, but none solved my problem. I\'ve been racking my b
For me the problem was in the BeginForm() method itself. It looked like this:
@using (Html.BeginForm("MyAccount", "MyController", Model))
Copied and pasted in from another project's Login page, which doesn't have a dropdown.
Anyway, remove the Model from the parameter list and it all works just fine :)