Exemplo n.º 1
0
 public Repository(FerrexContext db)
 {
     _db   = db;
     dbSet = _db.Set <TEntity>();
 }
Exemplo n.º 2
0
 public ProductRepository(FerrexContext db) : base(db) => _db = db;
Exemplo n.º 3
0
 public CategoryRepository(FerrexContext db) : base(db) => _db = db;