private DbSet <T> _dbSet; //tablo public Repository(BiletContext context) { if (context != null) { _biletContext = context; _dbSet = _biletContext.Set <T>(); } }