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