public async Task OnGetAsync() { var consumingServices = await _discoveryHandler.GetConsumingServices(); var publishedEvents = await _discoveryHandler.GetPublishedEvents(); ConsumingServices = consumingServices; PublishedEvents = publishedEvents; }
public async Task <ActionResult> GetConsumingServices() { var consumingServices = await _discoveryHandler.GetConsumingServices(); return(Ok(consumingServices)); }