public Repository(BankEntities context) { this.context = context; this.dbSet = context.Set <TEntity>(); }