private async Task GetCurrentWeatherAsync() { try { string currentWeather = await _weatherApi.GetCurrentWeatherByCityAsync("<CITY>", "<STATE>"); CurrentWeather = new CurrentWeatherViewModel(currentWeather); LastWeatherUpdate = DateTime.Now; } catch (Exception e) { Debug.WriteLine("Weather API failed. Error: " + e.Message); } }