Posted on: 9/4/2012 3:41:30 AM | Views : 397

hey everyone, im using c# and asp.net mvc 3 application.
now i have a 2 customer classes; "CustomerIndividual" and "CustomerCompany"
the reason being that in my requirements a customer can either be an individual or a company...
so my problem now is in my Customer index page, i want to show a list of all customers both individual and company.
how can i get 2 lists to my index page? do i use 2 viewbags with a list of each customer type and then use a foreach loop in my index page?
or is there a better way to do this?
thanks in advance
...

Go to the complete details ...