public ActionResult <Skill> Post([FromBody] Skill skill) { if (ModelState.IsValid) { skill.Id = Guid.NewGuid(); var result = _skillService.Create(skill); return(Ok(result)); } return(BadRequest()); }