I\'m trying to create a dropdown list with an enum property in ASP.NET MVC Core using the tag helper in a Razor view:
Here is the model:
public class Per
I got the same problem, I burned my head looking for a solution!
You can solve this situation, instantiating you model on top of your view like:
@using CRM.Model;
@using YourSolution.Model
Yes, it sounds too strange but belive me, it works! See my answer on my own post.
Select ENUM Tag Helper in ASP.NET Core MVC