public async Task <IReadOnlyList <IAssetPair> > GetAllIncludingFxParisWithFilterAsync(IEnumerable <string>
                                                                                              assetPairIds = null, bool onlyStarted = true)
        {
            var settlementCurrency = await _settlementCurrencyService.GetSettlementCurrencyAsync();

            var products = await _productsRepository.GetByProductsIdsAsync(assetPairIds);

            var currencies = await _currenciesRepository.GetAllAsync();

            var assetPairs = products
                             .Where(x => !onlyStarted || x.IsStarted)
                             .Select(x => AssetPair.CreateFromProduct(x, _defaultLegalEntitySettings.DefaultLegalEntity)).ToList();

            assetPairs.AddRange(currencies.Value
                                .Where(x => !x.Id.Equals(settlementCurrency,
                                                         StringComparison.InvariantCultureIgnoreCase)).Select(x =>
                                                                                                              AssetPair.CreateFromCurrency(x, _defaultLegalEntitySettings.DefaultLegalEntity, settlementCurrency)));

            return(assetPairs);
        }
 public Task <Result <List <Currency>, CurrenciesErrorCodes> > GetAllAsync()
 => _currenciesRepository.GetAllAsync();