1.

What Is The Use Of Viewmodel In Mvc?

Answer»

ViewModel is a plain class with PROPERTIES, which is USED to bind it to strongly TYPED view. ViewModel can have the validation RULES defined for its properties using data ANNOTATIONS.

ViewModel is a plain class with properties, which is used to bind it to strongly typed view. ViewModel can have the validation rules defined for its properties using data annotations.



Discussion

No Comment Found