using PARR.Common.Domain;
using PARR.DAL.Models;

namespace PARR.TemplateMatcher.Services.Interfaces
{
    public interface ITemplateReuser
    {
        Task<Template?> TryReuseOneUnusedTemplateAsync(
            Guid jobId,
            Guid unitId,
            HistoryInitiator initiator,
            int maxAttempts = 3);
    }
}
