public string AddPlanet(string planetName, params string[] items) { Planet planet = new Planet(planetName); for (int i = 0; i < items.Length; i++) { planet.AddItem(items[i]); } //planet.Items2.Add(item); planetRepository.Add(planet); return($"Successfully added Planet: {planetName}!"); }