using GB5Shared.DTO.Framework.Login; using CRMSalesDAL.DTO.LeadScoring; namespace CRMSalesDAL.CustomCode.LeadScoring; public interface ILeadScoringDAL { /// Null if the Lead itself does not exist; otherwise its Segment/ICP fit inputs plus /// the MAN fields of its most recent open Deal (null MAN fields if no such Deal exists). Task GetLeadScoringInput(int leadId, LoginDTO loginDTO, CancellationToken ct); /// Narrow write of TLEAD.LEADSCORE only — see LeadScoringQB.UPDATE_LEAD_SCORE's /// doc comment for why this is not routed through BaseEntityAppService.ExecuteSaveAsync. Task UpdateLeadScore(int leadId, int score, LoginDTO loginDTO, CancellationToken ct); }