I have tried both anonymous types and strongly typed objects but continue to encounter the same error:
Method 1: Anonymously Typed
Code:
var results = (from c in uow.Contacts orderby c.LastName ascending, c.FirstName ascending select new {ID=c.Id, Title = c.Title, LastName=c.LastName,