protected override void Seed(ApplicationDbContext context)
        {
            //  This method will be called after migrating to the latest version.

            //  You can use the DbSet<T>.AddOrUpdate() helper extension method
            //  to avoid creating duplicate seed data.


            SecurityBuilder.Run(context);
        }
Example #2
0
        public void Configuration(IAppBuilder app)
        {
            ConfigureAuth(app);

            SecurityBuilder.Run(ApplicationDbContext.Create());
        }