Relative Content

Tag Archive for c#asp.netasp.net-mvcmodel-view-controllerviewmodel

Submitting a POST using a ViewModel

I’m creating a website where you can Create an event for a game.I have a Create Page. The page has a GameID field when creating a new Event. I’m attempting to use a ViewModel so that I can display the name of the Game and select that, rather than the ID.