mirror of
https://github.com/stokebob/bnhtrade.git
synced 2026-03-19 22:47:15 +00:00
wip
This commit is contained in:
@@ -194,7 +194,7 @@ namespace bnhtrade.Core.Logic.Inventory
|
||||
uow.StockJournalRepository.StockJournalDelete(stockJournalId);
|
||||
|
||||
// delete stock table entry
|
||||
count = uow.StockRepository.DeleteStockTableLine(stockId);
|
||||
count = uow.StockRepository.DeleteStock(stockId);
|
||||
if (count != 1)
|
||||
{
|
||||
throw new Exception("StockID = " + stockId + " delete failed");
|
||||
|
||||
Reference in New Issue
Block a user