Beispiel #1
0
        private void AddStaffCollegeDegree(StaffCollegeDegreeDto dto, Staff staff)
        {
            var collegeDegree      = _mappingHelper.MapLookupField <CollegeDegree> (dto.CollegeDegree);
            var staffCollegeDegree = new StaffCollegeDegree(collegeDegree, dto.EarnedDate);

            staff.AddCollegeDegree(staffCollegeDegree);
        }
Beispiel #2
0
 private void RemoveStaffCollegeDegree(StaffCollegeDegreeDto dto, Staff staff, StaffCollegeDegree staffCollegeDegree)
 {
     staff.RemoveCollegeDegree(staffCollegeDegree);
 }
Beispiel #3
0
 private void ChangeStaffCollegeDegree(StaffCollegeDegreeDto dto, Staff staff, StaffCollegeDegree staffCollegeDegree)
 {
     RemoveStaffCollegeDegree(dto, staff, staffCollegeDegree);
     AddStaffCollegeDegree(dto, staff);
 }