示例#1
0
        public SkillDTO InsertSkill(SkillDTO data)
        {
            Skill dataToInsert = new Skill();

            dataToInsert = SkillRequestFormatter.ConvertRespondentInfoFromDTO(data);
            return(SkillRequestFormatter.ConvertRespondentInfoToDTO(_unitOfWork.SkillRepository.Create(dataToInsert)));
        }
示例#2
0
 public SkillDTO GetSkillById(int id)
 {
     return(SkillRequestFormatter.ConvertRespondentInfoToDTO(_unitOfWork.SkillRepository.GetById(id)));
 }