Interviews1 answer
How many ways are there to use multiple models in a view in ASP.NET MVC?
1 Answer
There are many ways of using multiple models in a view, most frequently used are given below:
ViewData
ViewBag
PartialView
TempData
ViewModel
Tuple
All techniques Mentioned above have their own advantages and disadvantages. Pick which one is suitable for your project
Komara ReddyPosted Sep 22, 2016, 12:09 AM EDT