public IActionResult Post([FromBody] Empleado emp) { if (ModelState.IsValid) { empleadoRepository.Add(emp); } return(new CreatedAtActionResult("Create", "Empleado", "aaa", new { id = emp.EMPLEADO })); }