using GB5Shared.DTO.Framework.Login; using RecruitmentDAL.DTO.BgVerification; using System.Threading; using System.Threading.Tasks; namespace RecruitmentBLL.BgVerification { public interface IBgVerificationBLL { Task GetBgVerification(int BgVerificationId, LoginDTO LoginDTO, CancellationToken ct); Task GetSelectListBgVerification(int ApplicationId, LoginDTO LoginDTO, CancellationToken ct); Task SaveBgVerification(BgVerificationDTO BgVerificationDTO, LoginDTO LoginDTO, CancellationToken ct); Task DeleteBgVerification(int BgVerificationId, LoginDTO LoginDTO, CancellationToken ct); // Opens one or more concurrent BG checks for an Application (typically fired at // offer-acceptance — see JobOfferBLL.RecordOfferResponseAsync — but also callable // standalone by a recruiter). Education/Employment/Criminal are best-effort routed // through IBgVerificationVendorService (the GOP Target Operation placeholder); // Reference is left Pending for a recruiter to dispatch via the existing FLS bridge // (RecruitmentFlsActionType.ReferenceCheck) once a referee is identified. Task InitiateBgVerification(InitiateBgVerificationDTO InitiateBgVerificationDTO, LoginDTO LoginDTO, CancellationToken ct); // Single-DTO-param status update — used by RecruitmentFlsBridgeBLL (referee submits the // ReferenceCheck questionnaire) and IBgVerificationVendorService (a real vendor // integration completes a check). Never throws on a "row not found" — callers treat that // as a no-op (e.g. a ReferenceCheck FLS action dispatched outside the BG-verification // flow, with no matching TBGVERIFICATION row to update). Task UpdateCheckStatusAsync(UpdateBgVerificationStatusDTO UpdateBgVerificationStatusDTO, LoginDTO LoginDTO, CancellationToken ct); } }