Example #1
0
 public MeController(IUserBusiness userBusiness)
 {
     _userBusiness = userBusiness;
     _repo         = new AuthRepository();
     db            = new RefTrustDBContext();
 }
Example #2
0
 public AuthRepository()
 {
     _ctx         = new RefTrustDBContext();
     _userManager = new ApplicationUserManager(new UserStore <ApplicationUser>(_ctx));
 }
Example #3
0
 public UnitOfWork()
 {
     _db = new RefTrustDBContext();
 }