I tried finding a similar question, but none of them match to my scenario. So I am posting this as a new question. My Model and Controller looks like the following:

Model:

```
public class table1
{
     public string name1 { get; set; }
}

public class table2
{
     public string name2 { get; set; }
}

public class bothTable
{
     public table1 table1 { get; set; }
     public table2 table2 { get; set; }
}

```

Controller:

```
List<table1> list1 = //generate list from table1
List<table2> list2 = //generate list from table2

var model = ?

return View(model);

```

I just need a way to pass both the output list to the model so I can pass it on to the View. Obviously I have more than 1 property in both table1 and table2, and list1 and list2 are generated from LINQ so they have multiple results.

Can anyone please help me on what my model should look like so that I can pass both lists to my View?

I was refering to this link but it doesn't match exactly to my scenario:
<http://forums.asp.net/t/1998033.aspx?Passing+multiple+Models+to+View+from+Controller>

I have also refereed to other similar questions in stackoverflow but I couldn't get the desired result.