コード例 #1
0
        public async Task <List <AssetPairContract> > List([FromQuery] string legalEntity = null,
                                                           [FromQuery] MatchingEngineModeContract?matchingEngineMode = null, string filter = null)
        {
            var data = await _assetPairsRepository.GetByLeAndMeModeAsync(legalEntity, matchingEngineMode?.ToString(),
                                                                         filter);

            return(data.Select(x => _convertService.Convert <IAssetPair, AssetPairContract>(x)).ToList());
        }