Refactor envelope creation logic into Extension class

Added a new static class `Extension` in `Extension.cs` to encapsulate methods for creating parameters and asynchronous envelope creation. Removed previous implementations from `EnvelopeCreateReadSQL.cs` for better organization. Updated `using` directives in `CreateEnvelopeCommandHandler.cs` and `EnvelopeCreateReadSQL.cs` for consistency.
This commit is contained in:
Developer 02
2025-05-05 16:36:16 +02:00
parent 3955a3232d
commit 8cfa28a863
3 changed files with 59 additions and 56 deletions

View File

@@ -1,6 +1,5 @@
using AutoMapper;
using EnvelopeGenerator.Application.Contracts.SQLExecutor;
using EnvelopeGenerator.Application.SQL;
using MediatR;
namespace EnvelopeGenerator.Application.Envelopes.Commands;