using System.Data; using GB5Shared.DTO.Framework.Login; using MMDAL.DTO.Allocation; namespace MMDAL.CustomCode.Allocation; public interface IAllocationPostingDAL { Task SaveAllocationsAsync(DataTable allocationsTvp, DataTable sourceLinksTvp, LoginDTO login, CancellationToken ct); Task> GetAllocationsForDocumentAsync(int documentId, int documentTypeId, LoginDTO login, CancellationToken ct); Task CancelAllocationsAsync(DataTable cancelledRowsTvp, LoginDTO login, CancellationToken ct); // Resolves ALLOCATIONNATURE for a set of existing allocation IDs (e.g. detail.LoadFromAllocationId // values) so the caller can tell which nature each referenced allocation was originally posted under. Task> GetAllocationNaturesAsync(IEnumerable allocationIds, LoginDTO login, CancellationToken ct); }