예제 #1
0
        private void AddStaffCertification(StaffCertificationDto dto, Staff staff)
        {
            var certification      = _mappingHelper.MapLookupField <Certification> (dto.Certification);
            var staffCertification = new StaffCertification(certification, new DateRange(dto.StartDate, dto.EndDate));

            staff.AddCertification(staffCertification);
        }