using System.Threading; using System.Threading.Tasks; using GB5Shared.DTO.Framework.Login; namespace TMSDAL.CustomCode.Promotion { /// Resolves MTRAININGPROGRAMME.ProgrammeCode -> ProgrammeId — the update-merge /// fallback used when a Programme with this code already exists at the destination /// independently of any prior promotion (no MPROMOTIONASSETLINK match yet). public interface ITrainingProgrammeCodeLookupDAL { Task GetProgrammeIdByCode(string programmeCode, LoginDTO login, CancellationToken ct); } }