From 9dbfdaa15e76cb1e44bdcdc311be158019ecdfec Mon Sep 17 00:00:00 2001 From: TekH Date: Thu, 26 Feb 2026 19:02:57 +0100 Subject: [PATCH] Mark ActionService as obsolete and stub out methods ActionService is now marked obsolete as a placeholder. Its constructor was removed, and all methods now throw NotImplementedException instead of returning true. Each method is also marked obsolete, indicating logic should be migrated from CommonServices.Jobs. --- .../Jobs/ActionService.cs | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/EnvelopeGenerator.ServiceHost/Jobs/ActionService.cs b/EnvelopeGenerator.ServiceHost/Jobs/ActionService.cs index 1c5e4a89..93797db9 100644 --- a/EnvelopeGenerator.ServiceHost/Jobs/ActionService.cs +++ b/EnvelopeGenerator.ServiceHost/Jobs/ActionService.cs @@ -1,31 +1,31 @@ -using DigitalData.Modules.Database; using EnvelopeGenerator.Domain.Entities; namespace EnvelopeGenerator.ServiceHost.Jobs; -public class ActionService : BaseService +[Obsolete("This is a placeholder service added by copilot. Migrate the actual logic from CommonServices.Jobs")] +public class ActionService { - public ActionService(State state, MSSQLServer database) : base(state) - { - } - + [Obsolete("This is a placeholder service added by copilot. Migrate the actual logic from CommonServices.Jobs")] public bool CreateReport(Envelope envelope) { - return true; + throw new NotImplementedException(); } + [Obsolete("This is a placeholder service added by copilot. Migrate the actual logic from CommonServices.Jobs")] public bool FinalizeEnvelope(Envelope envelope) { - return true; + throw new NotImplementedException(); } + [Obsolete("This is a placeholder service added by copilot. Migrate the actual logic from CommonServices.Jobs")] public bool CompleteEnvelope(Envelope envelope) { - return true; + 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) { - return true; + throw new NotImplementedException(); } -} +} \ No newline at end of file