public async Task <IEnumerable <EndpointInfoApiModel> > ListEndpointsAsync() { var endpoints = await _registryServiceHandler.ListAllEndpointsAsync(true).ConfigureAwait(false); return(endpoints); }