public async Task <IEnumerable <ApplicationWrapper> > GetApplicationListAsync(CancellationToken cancellation) { return(await TryWithCacheFallbackAsync( operationName : "GetApplicationList", func : () => _queryClientWrapper.GetApplicationListAsync(timeout: _defaultTimeout, cancellationToken: cancellation), cache : _applicationListCache, key : string.Empty, cancellation)); }
public async Task <IEnumerable <ApplicationWrapper> > GetApplicationListAsync(CancellationToken cancellationToken) { return(await _queryClientWrapper.GetApplicationListAsync(TimeSpan.FromSeconds(30), cancellationToken)); }