public List <MarketDataEntity.Output> MetadataRequest(string curveName, string provider) { var _cfg = _config(provider); var mds = new MetaDataService(_cfg); var filter = new ArtesianSearchFilter(); filter.SearchText = curveName; filter.Page = 1; filter.PageSize = 1; try { return(mds.SearchFacetAsync(filter) .ConfigureAwait(true) .GetAwaiter() .GetResult() .Results); } catch (Exception ex) { Console.WriteLine(ex.InnerException); } return(null); }