Hi All,
Normally, we are binding one model class to one view. Incase if we want to bind morethan one model class to one view we need to take the concept of ViewModel(2 or more model classes we can bind).
Here my doubt is why only 'view model' has only provided as a solution?
Any another possible ways of binding more than 1 model class to view in MVC apart from ViewModel concept?
Please provide your answers.
Regards
KVD
Mageshwaran RPosted Nov 25, 2019, 10:40 AM
Junaid ShahidPosted Jul 18, 2019, 3:04 AM
- Strongly bind
- Weakly bind
1 - Bind model directly like ViewModel, Class or DTOSanwar RanwaPosted Jul 18, 2019, 2:47 AM