Skip to content

Commit

Permalink
Merge 779b2eb into 67d5542
Browse files Browse the repository at this point in the history
  • Loading branch information
raffacabofrio authored Apr 22, 2020
2 parents 67d5542 + 779b2eb commit 18c670a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ protected DomainToViewModelMappingProfile(string profileName) : base(profileName
CreateMap<User, UserVM>()
.ForMember(dest => dest.Address, opt => opt.MapFrom(src => src.Address));

CreateMap<User, UserFacilitatorVM>()
.ForMember(dest => dest.Id, opt => opt.MapFrom(src => src.Id))
.ForMember(dest => dest.Name, opt => opt.MapFrom(src => src.Name));

#endregion [ User ]

#region [ BookUser ]
Expand Down

0 comments on commit 18c670a

Please sign in to comment.