Updated due to change in API
This commit is contained in:
parent
f258b008fa
commit
d138028462
|
|
@ -56,7 +56,7 @@ public class Startup
|
||||||
});
|
});
|
||||||
|
|
||||||
SampleData.InitializeMusicStoreDatabaseAsync().Wait();
|
SampleData.InitializeMusicStoreDatabaseAsync().Wait();
|
||||||
CreateAdminUser(app.ServiceProvider);
|
CreateAdminUser(app.ApplicationServices);
|
||||||
}
|
}
|
||||||
|
|
||||||
private async void CreateAdminUser(IServiceProvider serviceProvider)
|
private async void CreateAdminUser(IServiceProvider serviceProvider)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue