feat(*): Add a final readkey so users can see their results

This commit is contained in:
Josh Creek
2021-05-23 21:40:55 +01:00
parent 6e88f64f6c
commit a816ca4cac
+6
View File
@@ -49,6 +49,12 @@ namespace CityFinder
// Get the city using an API call
await GetCity(countryInput, postalCodeInput);
// Let the user read the results
Console.WriteLine("Press any key to finish... ");
Console.ReadKey();
}
/// <summary>
/// This method sets up the json config file and sets the user-agent header on the HttpClient.
/// </summary>