示例#1
0
 public BasedApiController()
 {
     _repo   = new AuthRepository();
     _newCtx = new CarPoolDbContext();
 }
 public RegisterGroupRepository()
 {
     _context = new CarPoolDbContext();
 }
示例#3
0
 public UserRepository()
 {
     _context = new CarPoolDbContext();
 }
 public UserGroupRequestRepository()
 {
     _context = new CarPoolDbContext();
 }
示例#5
0
 public AuthRepository()
 {
     _ctx         = new AuthContext();
     _newCtx      = new CarPoolDbContext();
     _userManager = new UserManager <IdentityUser>(new UserStore <IdentityUser>(_ctx));
 }
 public ProviderRepository()
 {
     _context = new CarPoolDbContext();
 }