Select from following answers:- Develop separate model for each of the data requests and then merge the data on the client side for display.
- Develop separate model for each of the data requests and then create a view specific model which calls those models and merges the data.
- Call various data requests in the controller for display.
- All Above
Answer 2: It Provides code re-usability because we break down the separate calls into their individual models and then create another model(ViewModel) to pull them
together.
Answer 1: Merging data on the client side goes against SoC (Separation of concern) recommendations.
Show Correct Answer
|
Alert Moderator