public EducationLevelDTO InsertEducationLevel(EducationLevelDTO data) { EducationLevel dataToInsert = EducationLevelRequestFormatter.ConvertRespondentInfoFromDTO(data); return(EducationLevelRequestFormatter.ConvertRespondentInfoToDTO(_unitOfWork.EducationLevelRepository.Create(dataToInsert))); }
public EducationLevelDTO GetEducationLevelById(int id) { return(EducationLevelRequestFormatter.ConvertRespondentInfoToDTO(_unitOfWork.EducationLevelRepository.GetById(id))); }