title: Returning json result while consuming web api from mvc controller
body: <p>I am consuming an external web api through mvc controller with HttpClient. My web api do return json-formatted content.</p>
  
  <p>How do i return the same json-formatted content of web api response in my mvc controller while consuming the web api? I am expecting something like this.</p>
  
  <pre><code>public async JsonResult GetUserMenu()
  {
      using (HttpClient client = new HttpClient())
      {
          client.BaseAddress = new Uri(url);
          HttpResponseMessage response = await client.GetAsync(url);
  
          if (response.IsSuccessStatusCode)
          {
               return await response.Content.ReadAsJsonAsync();
          }
      }
  }
  </code></pre>