コード例 #1
0
        public EducationLevelDTO InsertEducationLevel(EducationLevelDTO data)
        {
            EducationLevel dataToInsert = EducationLevelRequestFormatter.ConvertRespondentInfoFromDTO(data);

            return(EducationLevelRequestFormatter.ConvertRespondentInfoToDTO(_unitOfWork.EducationLevelRepository.Create(dataToInsert)));
        }
コード例 #2
0
 public EducationLevelDTO GetEducationLevelById(int id)
 {
     return(EducationLevelRequestFormatter.ConvertRespondentInfoToDTO(_unitOfWork.EducationLevelRepository.GetById(id)));
 }