I have a c# program which has a datagridview 
I want to get values in 2 different tables using linq
I know I can achieved this using sql server stored procedure
But I want to do it in linq so I do not need to update database

Heres my code:

```
public List<InsuranceHeader> GetInsuranceList(int InsuranceHeaderId) 
{
    var getData =(from item in context.InsuranceHeader 
                  join item2 in context.InsuranceDetail
                  on item.InsuranceHeaderId equals item2.InsuranceDetailId
                  where item.InsuranceHeaderId == InsuranceHeaderId
                  select item).ToList();

    return getData;
}

```

The other problem is when im returning a value in InsuranceDetail The system throws an error
because I know that I assigned my return type as a List(InsuranceHeader) is there anyway
to achieve this? sorry for my english