From ca9e25abcbbee49c24b9aa3f1fd1a6c16675a0a5 Mon Sep 17 00:00:00 2001 From: TekH Date: Wed, 11 Mar 2026 09:28:40 +0100 Subject: [PATCH] Add IsReadAndSign extension method to IEnvelope Introduced the IsReadAndSign method to IEnvelope extensions, which returns true when EnvelopeTypeId is not 2. This allows clear differentiation between "Read and Sign" and "Read and Confirm" envelope types. --- EnvelopeGenerator.Domain/Interfaces/IEnvelope.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/EnvelopeGenerator.Domain/Interfaces/IEnvelope.cs b/EnvelopeGenerator.Domain/Interfaces/IEnvelope.cs index bdc709c6..f4647701 100644 --- a/EnvelopeGenerator.Domain/Interfaces/IEnvelope.cs +++ b/EnvelopeGenerator.Domain/Interfaces/IEnvelope.cs @@ -11,5 +11,10 @@ { return envelope.EnvelopeTypeId == 2; } + + public static bool IsReadAndSign(this IEnvelope envelope) + { + return envelope.EnvelopeTypeId != 2; + } } } \ No newline at end of file