namespace Data_Coupler.Services;
///
/// Risultato dell'esecuzione di un profilo schedulato
///
public class ProfileExecutionResult
{
public bool Success { get; set; }
public string Message { get; set; } = string.Empty;
public int RecordsProcessed { get; set; }
public DateTime ExecutionTime { get; set; }
public TimeSpan Duration { get; set; }
}
///
/// Interfaccia per l'esecuzione di profili schedulati
///
public interface IScheduledProfileExecutionService
{
///
/// Esegue un profilo Data Coupler specificato dall'ID
///
Task ExecuteProfileAsync(int profileId);
}