title: How to Bind http response into ViewModel in C# Controller?
body: <p>I have a controller that makes a GET request and returns JSON. I want to then bind those values to the ViewModel that returns to the View.</p>
  
  <pre><code>[HTTPGET]
  public async Task&lt;IActionResult&gt; Name(string id) {
    ViewModel model = new ViewModel();
    var name = await GetNameFromBYId(id);
  
    name = model.Name;//HOW Do I do This?
  
  }
  </code></pre>