private void AddStaffCollegeDegree(StaffCollegeDegreeDto dto, Staff staff) { var collegeDegree = _mappingHelper.MapLookupField <CollegeDegree> (dto.CollegeDegree); var staffCollegeDegree = new StaffCollegeDegree(collegeDegree, dto.EarnedDate); staff.AddCollegeDegree(staffCollegeDegree); }
private void RemoveStaffCollegeDegree(StaffCollegeDegreeDto dto, Staff staff, StaffCollegeDegree staffCollegeDegree) { staff.RemoveCollegeDegree(staffCollegeDegree); }
private void ChangeStaffCollegeDegree(StaffCollegeDegreeDto dto, Staff staff, StaffCollegeDegree staffCollegeDegree) { RemoveStaffCollegeDegree(dto, staff, staffCollegeDegree); AddStaffCollegeDegree(dto, staff); }