Esempio n. 1
0
        //private readonly UserManager<ApplicationUser> _userManager;

        public ClassRepository(MongoTablesFactory mongoProxy)
        {
            _users       = mongoProxy.GetCollection <TUser>(MongoTablesFactory.TABLE_USERS);
            _Netbankings = mongoProxy.GetCollection <Netbanking>(MongoTablesFactory.TABLE_NETBANKING);
            _Cards       = mongoProxy.GetCollection <Dcard>(MongoTablesFactory.TABLE_CARD);
            _Complaints  = mongoProxy.GetCollection <Complaint>(MongoTablesFactory.TABLE_COMPLAINT);
            _Cylinders   = mongoProxy.GetCollection <Cylinder>(MongoTablesFactory.TABLE_CYLINDER);
        }
Esempio n. 2
0
 public MongoUserStore(MongoTablesFactory mongoProxy)
 {
     _users = mongoProxy.GetCollection <TUser>(MongoTablesFactory.TABLE_USERS);
 }
Esempio n. 3
0
        public MongoRoleStore(MongoTablesFactory proxyTables)

        {
            _roles = proxyTables.GetCollection <TRole>(MongoTablesFactory.TABLE_ROLES);
        }