Relative Content

Tag Archive for c#asp.netasp.net-mvcasp.net-mvc-5

Passing a model to a view in ASP.NET MVC 5

When I hit a breakpoint in the Update method shown below, all of the properties of model are populated with values that are not null. The user enters the values on the Index view. They are seen in the Index controller action method, and again in the Update method after the redirect.