Пример #1
0
 public MongoRoleStore(MongoTablesFactory proxyTables)
 {
     _roles = proxyTables.GetCollection <TRole>(MongoTablesFactory.TABLE_ROLES);
 }
Пример #2
0
 public MongoUserStore(MongoTablesFactory proxyTables, ILookupNormalizer normalizer)
 {
     _users      = proxyTables.GetCollection <TUser>(MongoTablesFactory.TABLE_USERS);
     _normalizer = normalizer;
 }