using GB5Shared.DTO.Framework.Login; using RecruitmentDAL.DTO.InterviewPanel; using System.Data.Common; using System.Threading; using System.Threading.Tasks; namespace RecruitmentDAL.CustomeCode.InterviewPanel { public interface IInterviewPanelDAL { Task GetInterviewPanel(int InterviewPanelId, LoginDTO LoginDTO, CancellationToken ct); Task GetInterviewPanelByInterview(int InterviewId, LoginDTO LoginDTO, CancellationToken ct); // Transactional write overloads — called from BaseEntityAppService.ExecuteSaveAsync's // persistFunc so the save participates in the single pipeline transaction. Task SaveInterviewPanel(InterviewPanelDTO InterviewPanelDTO, LoginDTO LoginDTO, DbTransaction tx, CancellationToken ct); Task UpdateInterviewPanel(InterviewPanelDTO InterviewPanelDTO, LoginDTO LoginDTO, DbTransaction tx, CancellationToken ct); Task DeleteInterviewPanel(int InterviewPanelId, LoginDTO LoginDTO, CancellationToken ct); } }