diff --git a/EnvelopeGenerator.Application/Common/Extensions/MediatorGetOrContext.cs b/EnvelopeGenerator.Application/Common/Extensions/MediatorGetOrContext.cs
deleted file mode 100644
index f43cd0a3..00000000
--- a/EnvelopeGenerator.Application/Common/Extensions/MediatorGetOrContext.cs
+++ /dev/null
@@ -1,77 +0,0 @@
-using DigitalData.Core.Exceptions;
-using MediatR;
-using System.Collections;
-
-namespace EnvelopeGenerator.Application.Common.Extensions;
-
-///
-/// Holds a pending MediatR request and exposes Throw… methods that send the request
-/// and throw a chosen exception when the response is null or an empty collection.
-///
-/// The expected response type.
-public readonly struct MediatorGetOrContext
-{
- private readonly ISender _sender;
- private readonly IRequest _request;
- private readonly CancellationToken _cancel;
-
- internal MediatorGetOrContext(ISender sender, IRequest request, CancellationToken cancel)
- {
- _sender = sender;
- _request = request;
- _cancel = cancel;
- }
-
- ///
- /// Sends the request and throws the exception produced by
- /// when the response is null or an empty collection.
- ///
- public async Task Throw(Func exceptionFactory)
- {
- if (await _sender.Send(_request, _cancel) is TResponse res)
- {
- // string implements IEnumerable, so "" would be treated as an empty collection without this guard.
- if (res is not string && res is IEnumerable enumerable && !enumerable.Cast