public Repository(ShopFashionContext context) { this.context = context; this.dbSet = context.Set <TEntity>(); }
public DemoRepository(ShopFashionContext context) : base(context) { this.context = context; this.dbSet = context.Set <DemoTable>(); }