I'm developing an ASP.NET Core 6 MVC app. My IDE is VS Code and I am using Windows 10.
The SelectList can work in one controller but not be found in other controller.
Both controllers are using Microsoft.AspNetCore.Mvc and Microsoft.EntityFrameworkCore.
How strange it is... could anyone give me a hand?
for SelectList of net core you have to use