using GB5Shared.DTO.Framework.Login; namespace CMSBLL.ContentBlock; public interface IContentBlockBLL { Task GetByContainerAsync(int containerId, LoginDTO loginDTO, CancellationToken ct); Task GetFullDocumentAsync(int contentId, LoginDTO loginDTO, CancellationToken ct); Task SaveAsync(CMSDAL.DTO.ContentBlock.ContentBlockDTO dto, LoginDTO loginDTO, CancellationToken ct); Task UpdatePropsAsync(CMSDAL.DTO.ContentBlock.ContentBlockDTO dto, LoginDTO loginDTO, CancellationToken ct); Task ReorderAsync(int contentBlockId, short positionNo, string zoneName, LoginDTO loginDTO, CancellationToken ct); Task DeleteAsync(int contentBlockId, LoginDTO loginDTO, CancellationToken ct); // Used by the Phase 14 template materializer — resolves a BlockCode to its BlockId. Task GetBlockIdByCodeAsync(string blockCode, LoginDTO loginDTO, CancellationToken ct); }