File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
ECER.Clients.RegistryPortal/ECER.Clients.RegistryPortal.Server/References
ECER.Resources.Documents/ICRA Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -157,6 +157,8 @@ public record ICRAWorkExperienceReferenceSubmissionRequest([Required] string Tok
157157 public bool ? WorkedWithChildren { get ; set ; }
158158 public IEnumerable < ChildcareAgeRanges > ? ChildcareAgeRanges { get ; set ; }
159159 public ReferenceRelationship ? ReferenceRelationship { get ; set ; }
160+ public DateTime ? DateSigned { get ; set ; }
161+
160162}
161163
162164public record WorkExperienceReferenceDetails ( )
Original file line number Diff line number Diff line change @@ -84,14 +84,11 @@ public ICRARepositoryMapper()
8484 . ForMember ( d => d . EmailAddress , opts => opts . MapFrom ( s => s . ecer_EmailAddress ) )
8585 . ForMember ( d => d . PhoneNumber , opts => opts . MapFrom ( s => s . ecer_PhoneNumber ) ) ;
8686
87- CreateMap < Applications . ChildcareAgeRanges , ecer_ChildcareAgeRange > ( )
88- . ConvertUsingEnumMapping ( opts => opts . MapByName ( true ) )
89- . ReverseMap ( ) ;
90- CreateMap < Applications . ReferenceRelationship , ecer_ReferenceRelationships > ( )
91- . ConvertUsingEnumMapping ( opts => opts . MapByName ( true ) )
92- . ReverseMap ( ) ;
87+
9388
9489 CreateMap < ICRAWorkExperienceReferenceSubmissionRequest , ecer_WorkExperienceRef > ( MemberList . Source )
90+ . ForSourceMember ( s => s . CountryId , opts => opts . DoNotValidate ( ) )
91+ . ForSourceMember ( s => s . WorkedWithChildren , opts => opts . DoNotValidate ( ) )
9592 . ForMember ( d => d . ecer_referencefirstname , opts => opts . MapFrom ( s => s . FirstName ) )
9693 . ForMember ( d => d . ecer_referencelastname , opts => opts . MapFrom ( s => s . LastName ) )
9794 . ForMember ( d => d . ecer_referenceemailaddress , opts => opts . MapFrom ( s => s . EmailAddress ) )
You can’t perform that action at this time.
0 commit comments