Hi Friends, I want to run some ad hoc queries in my .Net 5 Razor pages or Components. I was wondering should I put the query logic in my models or somewhere else? I don't know if making linq query calls to a webapi is efficent and I read that I should use methods or functions in my models and use Linq to Entities. Thanks !!!

