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