예제 #1
0
 private async Task GetAllServicesAsync(HttpContext context)
 {
     await context.WriteModelAsync(await _serviceRegistry.GetAllServicesAsync());
 }
 public async Task <IActionResult> Index()
 {
     return(View(await _serviceRegistry.GetAllServicesAsync()));
 }