private static async Task <Attachment> GetWeatherCard(Activity activity) { var desLocationInfo = JsonConvert.DeserializeObject <WeatherActionDetails>(activity.Value.ToString()); WeatherInfo weatherinfo = WeatherHelper.GetWeatherInfo(desLocationInfo.City); return(await CardHelper.GetWeatherCard(weatherinfo, desLocationInfo.Date)); }