示例#1
0
        public async Task <ActionResult> Get()
        {
            using (var client = new HttpClient())
            {
                var serviceResult = await client.GetStringAsync($"{await _restTemplate.ResolveBaseUrlAsync()}/api/user");

                return(Content(serviceResult));
            }
        }