diff --git a/EnvelopeGenerator.ServiceHost/Jobs/ActionService.cs b/EnvelopeGenerator.ServiceHost/Jobs/ActionService.cs index c7a5ba2e..ea3165f6 100644 --- a/EnvelopeGenerator.ServiceHost/Jobs/ActionService.cs +++ b/EnvelopeGenerator.ServiceHost/Jobs/ActionService.cs @@ -1,3 +1,4 @@ +using DigitalData.Core.Abstraction.Application.Repository; using EnvelopeGenerator.Domain.Entities; namespace EnvelopeGenerator.ServiceHost.Jobs; @@ -6,28 +7,28 @@ namespace EnvelopeGenerator.ServiceHost.Jobs; /// migrate from EnvelopeGenerator.CommonServices.Services.ActionService /// [Obsolete("This is a placeholder service added by copilot. Migrate the actual logic from CommonServices.Jobs")] -public class ActionService +public class ActionService(IRepository histRepo) { [Obsolete("This is a placeholder service added by copilot. Migrate the actual logic from CommonServices.Jobs")] - public bool CreateReport(Envelope envelope) + public bool CreateReport(Envelope envelope, CancellationToken cancel = default) { throw new NotImplementedException(); } [Obsolete("This is a placeholder service added by copilot. Migrate the actual logic from CommonServices.Jobs")] - public bool FinalizeEnvelope(Envelope envelope) + public bool FinalizeEnvelope(Envelope envelope, CancellationToken cancel = default) { throw new NotImplementedException(); } [Obsolete("This is a placeholder service added by copilot. Migrate the actual logic from CommonServices.Jobs")] - public bool CompleteEnvelope(Envelope envelope) + public bool CompleteEnvelope(Envelope envelope, CancellationToken cancel = default) { throw new NotImplementedException(); } [Obsolete("This is a placeholder service added by copilot. Migrate the actual logic from CommonServices.Jobs")] - public bool CompleteEnvelope(Envelope envelope, Receiver receiver) + public bool CompleteEnvelope(Envelope envelope, Receiver receiver, CancellationToken cancel = default) { throw new NotImplementedException(); }