Last active
January 13, 2017 14:25
-
-
Save SaschaHeyer/24bacafbd4f5c6f13e1f184e5ff1b1ea to your computer and use it in GitHub Desktop.
nested mappings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class MappingProfile : Profile | |
| { | |
| public MappingProfile() | |
| { | |
| CreateMap<Worklog, WorklogDto>() | |
| .ForMember(dest => dest.IssueDto, opt => opt.MapFrom(x => x.Issue)); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment