public async Task <ActionResult> Details() { HttpResponseMessage value = null; //try //{ value = await _downstreamWebApi.CallWebApiForAppAsync( "MyAPI2", options => { //options.BaseUrl = "https://localhost:44352/"; options.HttpMethod = HttpMethod.Get; options.RelativePath = $"api/todolist2/getAllTasks2"; }); //} //catch (Exception e) //{ // Console.WriteLine(e.StackTrace); //} return(Ok(value)); }