public BaseRepository(MyStoreDBContext context) { this.context = context; this.dbSet = context.Set <TEntity>(); }
public ProductRepository(MyStoreDBContext context) { this._context = context; }
public BaseRepository(MyStoreDBContext context) { this.context = context; this.dbSet = context.Set <TEntity>(); }
public ProductRepository(MyStoreDBContext context) { this._context = context; }