public async Task <IActionResult> CreateNewSkill([FromBody] CreateSkillDto createSkillDto) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } var newSkillDto = await _skillService.CreateNewSkill(createSkillDto); if (newSkillDto == null) { return(NotFound()); } return(Ok(newSkillDto)); }