public AuctionContextSeed( AuctionDbContext context, UserManager <ApplicationUser> userManager, RoleManager <IdentityRole> roleManager) { _context = context; _userManager = userManager; _roleManager = roleManager; }
public EfRepository(AuctionDbContext dbContext) { _dbContext = dbContext; _dbSet = _dbContext.Set <TEntity>(); }
public AuctionRepository(AuctionDbContext dbContext) : base(dbContext) { }