/// <summary> /// Handles displaying all of the locations and their inventories. /// </summary> private static void HandleRequestDisplayAllLocations() { Log.Information("Handling request display all locations"); ICollection <BusinessLocation> locations = LocationData.GetLocations(); Console.WriteLine($"[*] There are {locations.Count} locations"); locations.ToList().ForEach(l => { Console.WriteLine(l); Console.WriteLine(l.ToStringInventory()); }); Console.WriteLine(); }