I’m currently working on an ASP.NET Core project using Visual Studio, and I’ve encountered an issue where the View()
method is not showing up in IntelliSense within one of my controller functions. Typically, when I try to return a view from an action method in my controller, I use return View();
to render the corresponding view template. However, in this particular controller, IntelliSense doesn’t suggest the View()
method.
I tried to find it and change the name of the function but no success.
8