public ProductRepository(Tvita_TestEntities dbContext) : base(dbContext) { _dbContext = dbContext; _productRepository = new Repository <tbl_Product, int>(_dbContext); this._dbSet = _dbContext.Set <tbl_Product>(); }
public CardRepository(Tvita_TestEntities dbContext) : base(dbContext) { _dbContext = dbContext; _cardRepository = new Repository <tbl_Card, int>(_dbContext); this._dbSet = _dbContext.Set <tbl_Card>(); }
public EmployeeRepository(Tvita_TestEntities dbContext) : base(dbContext) { _dbContext = dbContext; _employeeRepository = new Repository <tbl_Emoloyee, int>(_dbContext); this._dbSet = _dbContext.Set <tbl_Emoloyee>(); }