public IActionResult AgregarPlaneta(Planetas p) { RepoPlanetas repo = new RepoPlanetas(); repo.Agregar(p); return(CreatedAtAction(nameof(AgregarPlaneta), p)); }