I have the following code where I need to implement fulltext search on a list of objects. I managed to get this working in a console application. The problem is when I start using this in WebAPI application. I get a error message saying ...Object referenc...