예제 #1
0
 protected override void Seed(AuthenticationDb db)
 {
     //  This method will be called after migrating to the latest version.
     Db.Operations repo = new Db.Operations(db);
     repo.InitializeClients();
     repo.InitializeRoles();
 }
예제 #2
0
        public async static void SetupClientsAndRoles()
        {
            using (Db.Operations repo = new Db.Operations())
            {
                await repo.InitializeClients();

                await repo.InitializeRoles();
            }
        }