I am building an intranet web site using MVC3. I have a view in which I want to display 3 tables. All 3 tables data are being fetched from one database only. I have 3 different stored procedures for 3 tables data. I am thinking of using 3 different partial views in index.cshtml. And can use 3 stored procedure to fetch data.
Can someone help me how to set controller index method so that it return view for all 3 partial views? I can use viewbag. But I read articles online and it says that its not a good approach to use viewbag. Currently Index method in controller returns view for only one partial view by using 1 stored procedure.
Thanks in advance.