` is defined as such:
```cs
public static IWebHost InitializeIdentityDb<TUser, TRole>(this IWebHost host)
{
using (var scope = host.Services.CreateScope())
{
var services = scope.ServiceProvider;
var options = services.GetRequiredService<IOptions<CassandraOptions>>();
...
var initializer = new DbInitializer(session);
initializer.Initialize<TUser, TRole>(options.Value);
return host;
}
}
```
Then
` is defined as such:
```cs
public static IWebHost InitializeIdentityDb<TUser, TRole>(this IWebHost host)
{
using (var scope = host.Services.CreateScope())
{
var services = scope.ServiceProvider;
var options = services.GetRequiredService<IOptions<CassandraOptions>>();
...
var initializer = new DbInitializer(session);
initializer.Initialize<TUser, TRole>(options.Value);
return host;
}
}
```
Then