using AutoMapper; using EnvelopeGenerator.Application.EnvelopeReceivers.Commands; using EnvelopeGenerator.Application.Envelopes.Commands; using EnvelopeGenerator.Domain.Entities; namespace EnvelopeGenerator.Application.Envelopes; /// /// /// public class MappingProfile : Profile { /// /// /// public MappingProfile() { CreateMap(); CreateMap() .ForMember(dest => dest.Uuid, opt => opt.MapFrom(_ => Guid.NewGuid().ToString())); } }