public void Run() { _outputHandler.Output(_configDisplayGenerator.BuildConfigDisplayString()); while (true) { try { _outputHandler.Output(Environment.NewLine + "Please enter city name"); var city = _inputHandler.GetCityString(); var forecast = _forecastProvider.GetForecastForCity(city).Result; _outputHandler.Output(forecast.ToString()); } catch (Exception e) { _outputHandler.Output(e.ToString()); } } }