using e_suite.Database.Audit;
using e_suite.Database.Core;
using e_suite.Database.Core.Tables.Mail;
using eSuite.Core.MailService;

namespace e_suite.API.Common.repository;

public interface IMailTemplatesManagerRepository : IRepository
{
    Task<MailTemplate?> GetMailTemplate(long domainId, MailType emailRequestEmailType, CancellationToken cancellationToken);
    Task InsertMailTemplateAsync(MailTemplate template, AuditUserDetails auditUserDetails,
        CancellationToken cancellationToken);
    Task UpdateMailTemplateAsync(MailTemplate template, AuditUserDetails auditUserDetails,
        CancellationToken cancellationToken);
}