mirror of
https://github.com/stokebob/bnhtrade.git
synced 2026-03-21 07:17:15 +00:00
wip
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user