Hi folks,
Update - I fixed the query below. I had the wrong query/error statement :(
I have the following statement:
var posts = BlogPostRepository.Find()
.Where(x => x.Tags.Where(y => y.Name == tag))
.ToList();
It's giving me a compile time error with the 2nd (inner) Where clause, saying :-
Error 1 Cannot convert lambda expression to delegate type 'System.Func' because some of the return types in the block are not implicitly convertible to the delegate return type
I'm trying to filter all BlogPosts by a specific tag name.