public AuthRepository() { _db = new DataContext(); _ctx = new AuthContext(); _userManager = new UserManager<IdentityUser>(new UserStore<IdentityUser>(_ctx)); _roleManager = new RoleManager<IdentityRole>(new RoleStore<IdentityRole>(_ctx)); }
public PictureController() { _db = new DataContext(); }
public SubscriptionController() { _db = new DataContext(); }
public UserETMAdapter() { _ctx = new AuthContext(); _userManager = new UserManager<IdentityUser>(new UserStore<IdentityUser>(_ctx)); _db = new DataContext(); }
public AccountController() { _repo = new AuthRepository(); _db = new DataContext(); }
public VacationController() { _vacToModelAdapter = new VacationETMAdapter(); _vacToEntityAdapter = new VacationMTEAdapter(); _db = new DataContext(); }