public EmpEducationDTO InsertEmpEducation(EmpEducationDTO data) { EmployeeEducation dataToInsert = EmpEducationRequestFormatter.ConvertRespondentInfoFromDTO(data); return(EmpEducationRequestFormatter.ConvertRespondentInfoToDTO(_unitOfWork.EmployeeEducationRepository.Create(dataToInsert))); }
public EmpEducationDTO GetEducationByEduId(int eduId) { return(EmpEducationRequestFormatter.ConvertRespondentInfoToDTO(_unitOfWork.EmployeeEducationRepository.GetById(eduId))); }