Exemplo n.º 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);
        }
Exemplo n.º 2
0
 private void RemoveStaffCollegeDegree(StaffCollegeDegreeDto dto, Staff staff, StaffCollegeDegree staffCollegeDegree)
 {
     staff.RemoveCollegeDegree(staffCollegeDegree);
 }
Exemplo n.º 3
0
 private void ChangeStaffCollegeDegree(StaffCollegeDegreeDto dto, Staff staff, StaffCollegeDegree staffCollegeDegree)
 {
     RemoveStaffCollegeDegree(dto, staff, staffCollegeDegree);
     AddStaffCollegeDegree(dto, staff);
 }