I have created a ViewComponent, where it gets the search string parameter to search through Umbraco content. I have implemented the search and the possible results are of IEnumerable. This part is tested and it works.
The problem that I have is how to cast this IEnumerable into possibly more Backoffice models (ModelsBuilder C# classes)?
Another question, why doesn't Intellisense work with IPublishedContent?
Thanks for all the help!