move mapping profile

This commit is contained in:
2025-08-29 10:07:45 +02:00
parent 16e769d916
commit b939e19334
2 changed files with 23 additions and 4 deletions

View File

@@ -0,0 +1,23 @@
using AutoMapper;
using EnvelopeGenerator.Application.Receivers.Commands;
using EnvelopeGenerator.Domain.Entities;
namespace EnvelopeGenerator.Application.Receivers;
/// <summary>
///
/// </summary>
public class MappingProfile : Profile
{
/// <summary>
///
/// </summary>
public MappingProfile()
{
CreateMap<Receiver, UpdateReceiverCommand>();
CreateMap<UpdateReceiverCommand, Receiver>();
CreateMap<Receiver, CreateReceiverCommand>();
CreateMap<CreateReceiverCommand, Receiver>();
}
}