Beispiel #1
0
 public BaseRepository()
 {
     _context = new InventorydbContext();
     _dbSet   = _context.Set <TEntity>();
 }
Beispiel #2
0
 public BaseRepository(InventoryDBContext context)
 {
     _context = context;
     _dbSet   = context.Set <TEntity>();
 }