using GB5Shared.DTO.Framework.Criteria; using GB5Shared.DTO.Framework.Login; using RecruitmentDAL.DTO.JobOffer; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace RecruitmentBLL.JobOffer { public interface IJobOfferBLL { Task GetJobOffer(int JobOfferId, LoginDTO LoginDTO, CancellationToken ct); Task SaveJobOffer(JobOfferDTO JobOfferDTO, LoginDTO LoginDTO, CancellationToken ct); Task GetSelectListJobOffer(CriteriaDTO criteriaDTO, LoginDTO LoginDTO, CancellationToken ct); Task DeleteJobOffer(int JobOfferId, LoginDTO LoginDTO, CancellationToken ct); // Records the candidate's Accept/Decline response to an existing offer. Only Accepted (1) // or Declined (2) may be set here — Pending (0, the create-time default) and Expired (3) // are lifecycle transitions owned elsewhere, not a direct candidate response. Task RecordOfferResponseAsync(int JobOfferId, byte OfferResponseStatus, LoginDTO LoginDTO, CancellationToken ct); } }