예제 #1
0
        public async Task <Guid> CreateSkillAsync(SkillDto skillDto)
        {
            var skill = _mapper.Map <SkillDto, Skill>(skillDto);

            _skillRepository.CreateSkill(skill);

            await _skillRepository.CommitAsync();

            return(skill.ID);
        }