public ProductRepository(TicaretDbContext context) : base(context) { _context = context; _dbCategory = _context.Set <Category>(); _dbProduct = _context.Set <Product>(); }
public BaseRepository(TicaretDbContext ticaretDbContext) { _context = ticaretDbContext; _db = _context.Set <T>(); }
public CategoryRepository(TicaretDbContext context) : base(context) { }