using EAIAdminDAL.DTO; using GB5Shared.DTO.Framework.Login; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace EAIAdminBLL.EAIPromptTemplateAdmin { public interface IEAIPromptTemplateAdminBLL { Task> GetPromptTemplateListAsync( string? search, LoginDTO login, CancellationToken ct = default); Task GetPromptTemplateAsync( int promptId, LoginDTO login, CancellationToken ct = default); /// Create or update a prompt template, then push the change to gbEAI. The /// client-supplied PromptVersion is always ignored — the version persisted is the /// authoritative one returned by gbEAI's sync response. Returns a localised success /// message, with a sync-status suffix if the gbEAI push failed. Task SavePromptTemplateAsync( EAIPromptTemplateAdminDTO dto, LoginDTO login, CancellationToken ct = default); /// Soft-delete a prompt template, then push the delete to gbEAI. Returns a /// localised success message, with a sync-status suffix if the gbEAI push failed. Task DeletePromptTemplateAsync( int promptId, LoginDTO login, CancellationToken ct = default); } }