using GB5Shared.DTO.Framework.Login; using TMSDAL.DTO.AssessmentFlsBridge; using TMSDAL.DTO.AttemptResponse; namespace TMSBLL.AssessmentFlsBridge { public interface IAssessmentFlsCoordinatorBLL { // Mints an FLS respondent link for the given assessment/enrollment — FLS acts purely as // link/lifecycle coordinator, no survey/instrument is provisioned. Task PrepareFlsAttemptAsync(PrepareFlsAttemptDTO dto, LoginDTO loginDTO, CancellationToken ct); // Public, token-scoped — validates via FLS's own token lookup, creates the real // TASSESSMENTATTEMPT on first open, and returns the same question payload the in-app // start-attempt flow would. Task GetFlsAttemptAsync(string token, CancellationToken ct); // Public, token-scoped — submits responses through the existing, unmodified // AssessmentAttemptBLL.SubmitAssessmentAttempt, then closes out the FLS side via // MarkExternalSubmit. Task SubmitFlsAttemptAsync(string token, List responses, CancellationToken ct); } }