Ejemplo n.º 1
0
        public static void Seed <T>(T context)
            where T : Data.TenderSearchDb, new()
        {
#if DEBUG
            Seeder.Execute("Users", () =>
            {
                using (var identityHelper = new IdentityHelper <ApplicationUser, IdentityRole, T>())
                {
                    identityHelper.CreateUsers(WithRoles);
                }
            });
#endif
        }