예제 #1
0
        public async Task <IActionResult> CreateSkillAsync([FromBody] RegisterSkillRequest request)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest());
            }

            var newSkill = await _lookupService.CreateSkillAsync(request);

            return(Ok(newSkill));
        }