From 928f2a778012f43fd6c3c511231081a0942ffd78 Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Mon, 5 May 2025 02:03:56 +0200 Subject: [PATCH] Add AutoMapper profile for envelope mapping Introduces `CreateEnvelopeMappingProfile` class to define mapping between `Envelope` entity and `CreateEnvelopeResponse` DTO using AutoMapper's `CreateMap` method. --- .../Commands/CreateEnvelopeMappingProfile.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 EnvelopeGenerator.Application/Envelopes/Commands/CreateEnvelopeMappingProfile.cs diff --git a/EnvelopeGenerator.Application/Envelopes/Commands/CreateEnvelopeMappingProfile.cs b/EnvelopeGenerator.Application/Envelopes/Commands/CreateEnvelopeMappingProfile.cs new file mode 100644 index 00000000..8976d4bd --- /dev/null +++ b/EnvelopeGenerator.Application/Envelopes/Commands/CreateEnvelopeMappingProfile.cs @@ -0,0 +1,18 @@ +using AutoMapper; +using EnvelopeGenerator.Domain.Entities; + +namespace EnvelopeGenerator.Application.Envelopes.Commands; + +/// +/// +/// +public class CreateEnvelopeMappingProfile : Profile +{ + /// + /// + /// + public CreateEnvelopeMappingProfile() + { + CreateMap(); + } +}