public void Configure(EntityTypeBuilder <User> builder) { builder.ToTable(nameof(User)); builder.HasKey(h => h.Id); builder.Property(h => h.Email).IsRequired(); builder.Property(h => h.Profile).IsRequired(); builder.Property(h => h.CreationDate).IsRequired(); builder.Property(h => h.Name).IsRequired(); builder.Property(h => h.Password).IsRequired(); builder.HasData(UserSeed.DefaultUsers()); }