In this article, we’ll provide you the best way to pass multiple models from controller to view in ASP.NET MVC. There are 6 approaches. The 6 approaches described in theis article have their pros and cons. What you pick will depend on a specific scenario in hand and it is obviously a debatable topic. Before taking any decision, you need to identify your exact requirements then before choosing one, compare its pros and cons.
- Partial View
- ViewModel
- ViewData
- ViewBag
- TempData
- Tuple
Take note that an application can use more than one approach based on the requirement and at a particular point. However, we need to consider the best one in need.
Read the rest of the post here: http://www.codeproject.com/Articles/717941/How-to-Choose-the-Best-Way-to-Pass-Multiple-Models