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; }
public UnitOfWork(SportsApplicationDbContext db, IData data) { this.db = db; this.Data = data; }