I have written a simple application and when I navigate to my edit page the below error pops up.
Microsoft.EntityFrameworkCore.Query[10100]
<
This is another anwser for who gonna read this topic.
I tried to trigger asnyc method with javascript. Because of that it can't triggered and so result didn't calculated by async method. I was returning json object to view like this in dotnet core mvc.
return Json(_service.AsyncMethod(parameter));
My IActionResult is not async so I can't add "await". I just add ".Result" and it calculate result.
return Json(_service.AsyncMethod(parameter).Result);