Exemplo n.º 1
0
 public async Task<CommandResult> GetCurrentWeather(string location)
 {
     var result = await _weatherClient.GetWeatherByLocation(location, _httpContextAccessor.HttpContext.RequestAborted);
     return new CommandResult(result);
 }