using System.Threading;
using System.Threading.Tasks;
using GB5Shared.DTO.Framework.Criteria;
using GB5Shared.DTO.Framework.Login;
namespace MMBLL.Allocation
{
public interface IPendingAllocationBLL
{
///
/// Routes to the correct pending-allocation query variant based on discriminator
/// fields in and returns a serialized JSON result.
///
Task GetPendingAllocations(
CriteriaDTO criteria,
string? searchText,
int pageOffset,
int pageSize,
LoginDTO login,
CancellationToken ct = default);
///
/// GB4 Source: AllocationService.GetPendingSelectList -> AllocationBLL.GetPendingSelectList.
/// Distinct pick-list of pending allocations (6-column dedup) for the
/// Allocation-matching screen's dropdown — see .
///
Task GetSelectListTPendingAllocation(
CriteriaDTO criteria,
string? searchText,
int pageOffset,
int pageSize,
LoginDTO login,
CancellationToken ct = default);
}
}