public IIdentityDbContext GetDbContext() { MongoResource resource = Containers .GetResource <MongoResource>("mongo"); return(new IdentityDbContext(new MongoOptions { ConnectionString = resource.ConnectionString, DatabaseName = "magic-identity" })); }