Beispiel #1
0
        public async Task <IActionResult> Index()
        {
            var result = await _api.ApiValuesGetAsync();

            return(View());
        }
Beispiel #2
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 public static IList <string> ApiValuesGet(this IMyAPI operations)
 {
     return(operations.ApiValuesGetAsync().GetAwaiter().GetResult());
 }