diff --git a/src/ReC.Application/ResultViews/MappingProfile.cs b/src/ReC.Application/ResultViews/MappingProfile.cs new file mode 100644 index 0000000..206476d --- /dev/null +++ b/src/ReC.Application/ResultViews/MappingProfile.cs @@ -0,0 +1,13 @@ +using ReC.Application.ResultViews.Commands; +using ReC.Domain.Entities; + +namespace ReC.Application.ResultViews; + +public class MappingProfile : AutoMapper.Profile +{ + public MappingProfile() + { + CreateMap() + .ForMember(e => e.AddedWhen, exp => exp.MapFrom(cmd => DateTime.UtcNow)); + } +} \ No newline at end of file