using GB5Shared.DTO.Framework.Criteria; using GB5Shared.DTO.Framework.Login; using MarketingDAL.DTO.Communication; namespace MarketingBLL.Communication; public interface ICommunicationBLL { Task GetCommunication(int communicationId, LoginDTO loginDTO, CancellationToken ct); Task SaveCommunication(CommunicationDTO communicationDTO, LoginDTO loginDTO, CancellationToken ct); Task GetSelectListCommunication(CriteriaDTO criteriaDTO, LoginDTO loginDTO, CancellationToken ct); Task DeleteCommunication(int communicationId, LoginDTO loginDTO, CancellationToken ct); /// /// Dispatches a Communication to every Lead in its target Segment. Email/SMS route through /// GB5Shared.ActionProcessor for real; WhatsApp/Social throw NotImplementedException (no /// handler exists for those channels anywhere in this codebase). See the implementation's /// doc comment for the full design. /// Task SendCommunicationAsync(int communicationId, LoginDTO loginDTO, CancellationToken ct); }