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