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