What is the purpose of viewmodel in mvc?
Answer / Manoj Bhardwaj
In MVC, a ViewModel serves as an intermediary between the View and the Model. It exposes only those properties and methods that are needed by the View, and it may also contain additional data or logic to facilitate the View's work.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are html helpers in mvc?
What is mvc mvp mvvm?
Is angularjs mvvm or mvc 4?
Is react an mvc?
What is meaning of View in MVC?
What is afterFilter() used?
What are action verbs mvc?
What is model layer mvc?
What is viewstate mvc?
Which is better mvc or mvvm?
What’s new in the latest version of mvc?
What are the exception filters in mvc?