Skip to content

Commit c2670cb

Browse files
committed
ECCER-5270: Missed mappings added to international certification mappings
1 parent 8d3ad71 commit c2670cb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ECER.Resources.Documents/ICRA/ICRARepositoryMapper.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ public ICRARepositoryMapper()
4444

4545
CreateMap<ecer_InternationalCertification, InternationalCertification>(MemberList.Destination)
4646
.ForMember(d => d.Id, opts => opts.MapFrom(s => s.ecer_InternationalCertificationId))
47+
.ForMember(d => d.OtherFirstName, opts => opts.MapFrom(s => s.ecer_OtherFirstName))
48+
.ForMember(d => d.OtherMiddleName, opts => opts.MapFrom(s => s.ecer_OtherMiddleName))
49+
.ForMember(d => d.OtherLastName, opts => opts.MapFrom(s => s.ecer_OtherLastName))
4750
.ForMember(d => d.CountryId, opts => opts.MapFrom(s => s.ecer_Country != null ? s.ecer_Country.Id.ToString() : null))
4851
.ForMember(d => d.NameOfRegulatoryAuthority, opts => opts.MapFrom(s => s.ecer_AuthorityName))
4952
.ForMember(d => d.EmailOfRegulatoryAuthority, opts => opts.MapFrom(s => s.ecer_AuthorityEmail))

0 commit comments

Comments
 (0)