using FrameworkDAL.DTO.MessageHub.MessageHubGenerator;
using GB5Shared.DTO.Framework.Login;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace FrameworkDAL.CustomCode.MessageHub.MessageHubGenerator
{
///
/// DAL contract for MessageHub generation.
/// DAL resolves payload, recipient and metadata internally.
///
public interface IMessageHubGeneratorDAL
{
///
/// Generates MessageHub messages for a given EntityId.
/// One message per ActionType.
///
Task> GenerateMessagesByEntityAsync(int entityId, LoginDTO loginDTO, CancellationToken ct);
// Generates preview / patch payload for template validation.
//Task GeneratePatchAsync(
// string templateSubject,
// string templateBodyHtml,
// LoginDTO loginDTO);
}
}