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