using GB5Shared.DTO.Framework.Login; using System.Data.Common; using System.Threading; using System.Threading.Tasks; namespace RecruitmentDAL.CustomeCode.Agency { public interface IAgencyDAL { Task GetAgency(int RecruitmentAgencyId, LoginDTO LoginDTO, CancellationToken ct); Task GetSelectListAgency(string? SearchKeyword, LoginDTO LoginDTO, CancellationToken ct); // Transactional write overloads — called from BaseEntityAppService.ExecuteSaveAsync's // persistFunc so the save participates in the single pipeline transaction. Task SaveAgency(RecruitmentDAL.DTO.Agency.AgencyDTO AgencyDTO, LoginDTO LoginDTO, DbTransaction tx, CancellationToken ct); Task UpdateAgency(RecruitmentDAL.DTO.Agency.AgencyDTO AgencyDTO, LoginDTO LoginDTO, DbTransaction tx, CancellationToken ct); Task DeleteAgency(int RecruitmentAgencyId, LoginDTO LoginDTO, CancellationToken ct); } }