using System.Threading;
using System.Threading.Tasks;
using GB5Shared.DTO.Framework.Login;
namespace WiDAL.CustomCode.Promotion
{
/// Resolves MWI.WiCode -> WiId — the update-merge fallback used when a Work
/// Instruction with this code already exists at the destination independently of any prior
/// promotion (no MPROMOTIONASSETLINK match yet). UK_MWI_WICODE_TENANTID is a real unique
/// constraint, confirmed via schema.
public interface IWiHeaderCodeLookupDAL
{
Task GetWiIdByCode(string wiCode, LoginDTO login, CancellationToken ct);
}
}