27 July 2013

Add multiple model in View MVC 3 and MVC 4

Add multiple model in View MVC 3 and MVC 4

Using Tuple it is possible, Add below code in the view.

@model Tuple< Model1,Model2 >

Example : http://pastebin.com/VBPhBBUw


No comments:

Post a Comment

Comments Welcome

Benefits of microservices

Benefits of microservices      1. Development & Team Agility Architecture- and language-neutral: Teams aren't locked into one progr...