Example #1
0
 public SqlData(SportsApplicationDbContext db, UserManager <IdentityUser> userManager,
                SignInManager <IdentityUser> signInManager, RoleManager <IdentityRole> roleManager)
 {
     this.db            = db;
     this.userManager   = userManager;
     this.signInManager = signInManager;
     this.roleManager   = roleManager;
     this.roleManager   = roleManager;
 }
 public ResultRepository(SportsApplicationDbContext db)
 {
     this.db = db;
 }
Example #3
0
 public UnitOfWork(SportsApplicationDbContext db, IData data)
 {
     this.db   = db;
     this.Data = data;
 }