How to filter LINQ on multiple values from other tables
I have a simple LINQ statement, but I now need to include data from other entities.
I want to receive Meta entities where the ViewId equals an Id from View and where View.SiteId = site.Id.
Using LINQ to convert a listed model into another listed model
I am trying to convert one model into another model that is a slightly different format. I was thinking I could do this in one line without a foreach by using LINQ however I keep running into an error about conversion of types. Here is my code: