Problem
问题
I have a list of view models. Most of the view models have a dropdown input. When the ModelState is valid everything goes fine and I am able to handle inputting the data however when an error occurs in the form validation everything goes a mess because the dropdown menus need to be repopulated with data. This is a bit of a problem because each view model has a different dropdown list.I have a list of view models. Mo