public IActionResult Index() { ViewBag.result1 = demoServiceClient.HelloAsync().Result; ViewBag.result2 = demoServiceClient.HiAsync("Mike").Result; ViewBag.result3 = demoServiceClient.SumAsync(1, 2).Result; ViewBag.product = productServiceClient.FindAsync().Result; ViewBag.products = productServiceClient.FindAllAsync().Result; return(View()); }