In my application i have ‘Contacts’ & ‘Invitations’
When i want to create new Invitation i want the user to select whom to invite from his contacts ‘Using multiple check boxes for example.
In the Invitation Controller , i want to pass an invitation model to the view as well as a list of contacts that the user has.
How can i do this in ASP.net MVC 3 any ideas ?
Why don’t you have a complex type Model? Something like:
Then in the view your model declaration is (assuming you’re using razor):