refactor(MappingProfile): create to handle model mappings

This commit is contained in:
Developer 02
2025-08-26 17:13:21 +02:00
parent 2355a566e4
commit 05cd8a05f4
4 changed files with 23 additions and 45 deletions

View File

@@ -0,0 +1,19 @@
using AutoMapper;
using EnvelopeGenerator.Domain.Entities;
namespace EnvelopeGenerator.Application.Model;
/// <summary>
///
/// </summary>
public class MappingProfile : Profile
{
/// <summary>
///
/// </summary>
public MappingProfile()
{
CreateMap<EnvelopeQueryBase, Envelope>();
CreateMap<ReceiverQueryBase, Receiver>();
}
}