0
Goodnight,
I created a namespace called: Enums inside Models, when I try to import within a class the Enums, I’m not getting through...
I’m with using Entity FrameWork with Asp.Net core MVC
Folder structure
Enum: Salesstatus
namespace SalesWebMVC.Models.Enums
{
public enum SaleStatus : int
{
Pending = 0,
Billed = 1,
Canceled = 2
}
}
Model: Salesrecord
using SalesWebMVC.Models. // Não aparece o Enums aqui
{
public class SalesRecord
{
public SalesStatus MyProperty { get; set; }
}
}

@Sandrosousa solved?
– Leandro Angelo