public BaseRepository(WarehouseDataContext warehouseDataContext) { WarehouseDataContext = warehouseDataContext ?? throw new ArgumentNullException(nameof(warehouseDataContext)); _dbSet = WarehouseDataContext.Set <TEntity>(); }
public StockItemRepository(WarehouseDataContext warehouseDataContext) : base(warehouseDataContext) { }