In asp.net core I am trying to add a folder with @using in my _ViewImports.cshtml, however it seems that it is invisible to it, even though there is absolutely no reason for it to be invisible.
In asp.net core I am trying to add a folder with @using in my _ViewImports.cshtml, however it seems that it is invisible to it, even though there is absolutely no reason for it to be invisible.
For some reason the namespace was incorrect. Changing the namespace in the BecomeDealerFormModel.cs from OnlineCardShop.Models to OnlineCardShop.Models.Dealers fixed it.