Exemplo n.º 1
0
 public AccountController(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     RoleManager <ApplicationRole> roleManager,
     NUAGEDbContext dbContext
     )
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _dbContext     = dbContext;
     _roleManager   = roleManager;
 }
Exemplo n.º 2
0
 public Repository(NUAGEDbContext _entities)
 {
     entities   = _entities;
     _objectSet = entities.Set <TEntity>();
 }
Exemplo n.º 3
0
 public UnitOfWork(NUAGEDbContext db)
 {
     entities = db;
 }