I have a query like this
var q = from a in audits
join c in customers on a.CustomerID equals c.CustomerID
select new { a, c };
return ControllerContext.Request.CreateResponse(HttpStatusCode.OK,
new { results = q.ToList() });
When I send the result of this to the browser I receive this
results
0:
a:
field1: '',
field2: ''
c:
column1: '',
column2: ''
1: {}
....
How do I change the c# so the result is like this
results
0:
field1: '',
field2: ''
column1: '',
column2: ''
1: {}
....