public BaseRepo(DbCtx ctx) { this.ctx = ctx; dbSet = ctx.Set <T>(); }
public Repository(DbCtx context) { Context = context; _entities = Context.Set <T>(); }