This commit is contained in:
2025-07-10 19:07:09 +01:00
parent 97b945e0cb
commit 7a28e2cc66
8 changed files with 605 additions and 575 deletions

View File

@@ -13,6 +13,14 @@ namespace bnhtrade.Core.Logic.Inventory
internal StockStatusService(IUnitOfWork unitOfWork) : base(unitOfWork) { }
public Dictionary<int, Model.Stock.Status> GetStatus(List<int> statusIds = null, List<int> statusTypeIds = null)
{
return WithUnitOfWork(uow =>
{
return uow.StockStatusRepository.ReadStatus(statusIds, statusTypeIds);
});
}
/// <summary>
/// Return the avaliable balance of a status. Uses a more efficent sql/code. However, balance requests should
/// generally also involve a date/time (i.e. the system does allow a stock transaction in the future, therefore