Esempio n. 1
0
 public UnitOfWork(SportsApplicationApiDbContext db, UserManager <IdentityUser> userManager,
                   SignInManager <IdentityUser> signInManager, RoleManager <IdentityRole> roleManager)
 {
     this.db            = db;
     this.userManager   = userManager;
     this.signInManager = signInManager;
     this.roleManager   = roleManager;
 }
 public ResultRepository(SportsApplicationApiDbContext db)
 {
     this.db = db;
 }