Пример #1
0
 public AuctionContextSeed(
     AuctionDbContext context,
     UserManager <ApplicationUser> userManager,
     RoleManager <IdentityRole> roleManager)
 {
     _context     = context;
     _userManager = userManager;
     _roleManager = roleManager;
 }
Пример #2
0
 public EfRepository(AuctionDbContext dbContext)
 {
     _dbContext = dbContext;
     _dbSet     = _dbContext.Set <TEntity>();
 }
Пример #3
0
 public AuctionRepository(AuctionDbContext dbContext) : base(dbContext)
 {
 }