public async Task <IActionResult> TestAsync() { var task = Task.Run(() => { ViewBag.Thread2 = _first.GetStringAsync("I'm Second").Result; }); ViewBag.Thread1 = await _first.GetStringAsync("I'm First"); ViewBag.Thread3 = _first.GetStringAsync("I'm Third").Result; ViewBag.ThreadCurrent = $@"Thread ID : {Thread.CurrentThread.ManagedThreadId}"; return(View()); }