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()); }