using GB5Shared.DTO.Framework.Criteria; using GB5Shared.DTO.Framework.Login; using RecruitmentDAL.DTO.Interview; using System; using System.Collections.Generic; using System.Data.Common; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace RecruitmentDAL.CustomeCode.Interview { public interface IInterviewDAL { Task GetInterview(int InterviewId, LoginDTO LoginDTO, CancellationToken ct); Task GetSelectListInterview(CriteriaDTO CriteriaDTO, LoginDTO LoginDTO, CancellationToken ct); Task SaveInterview(InterviewDTO InterviewDTO, LoginDTO LoginDTO, DbTransaction? transaction, CancellationToken ct); Task UpdateInterview(InterviewDTO InterviewDTO, LoginDTO LoginDTO, DbTransaction? transaction, CancellationToken ct); Task DeleteInterview(int InterviewId, LoginDTO LoginDTO, CancellationToken ct); // Non-transactional follow-up fired by InterviewBLL.SaveInterview after // EcpIntegrationService.ScheduleMeetingAsync returns — same pattern as // IApplicationDAL.UpdateApplicationCurrentStage. Task UpdateInterviewEcpMeetingId(int InterviewId, int EcpMeetingId, LoginDTO LoginDTO, CancellationToken ct); } }