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(); }
public async static void SetupClientsAndRoles() { using (Db.Operations repo = new Db.Operations()) { await repo.InitializeClients(); await repo.InitializeRoles(); } }