Exemple #1
0
        public EmployerRepository(IOwinContext context)
        {
            _ctx = context.Get <DBContext>();

            _userManager = context.Get <ApplicationUserManager>();
        }
Exemple #2
0
        public EmployerRepository()
        {
            _ctx = HttpContext.Current.GetOwinContext().Get <DBContext>();

            _userManager = HttpContext.Current.GetOwinContext().Get <ApplicationUserManager>();
        }