Beispiel #1
0
        private static async void InitDB(IServiceProvider service)
        {
            BooksAndGenresSeedData.EnsurePopulated(service);
            await IdentitySeedData.EnsureRoles(service);

            await IdentitySeedData.EnsureMenuElements(service);

            await IdentitySeedData.EnsurePopulated(service);
        }
        private static async void InitDB(IServiceProvider service)
        {
            await BooksAndGenresSeedData.EnsurePopulated(service);

            await IdentityEntitiesSeedData.EnsurePopulated(service);
        }