DinnerFormViewModel

We can then update our View code to work off of it. Notice in the following code how we are not
changing the names of the input elements we are creating (the form elements will still be named
“Title”, “Country”) — but we are updating the HTML Helper methods to retrieve the values
using the DinnerFormViewModel class:

Why we can still use m => m.Title, m => m.Country? After changing Inherits=”System.Web.Mvc.ViewPage<NerdDinner.Controllers.Dinner> to Inherits=”System.Web.Mvc.ViewPage<NerdDinner.Controllers.DinnerFormViewModel> I think
m is an object of DinnerFormViewModel, and we should change the above code to something like this: