public ActionResult GetAssets(string asset)
        {

            var viewModel = new GetAssetsViewModel
            {
                Asset = asset,
                AssetPairs = _assetPairsDictionary.FindByBasedOrQuotingAsset(asset).ToArray()
            };

            return View(viewModel);
        }
예제 #2
0
        public ActionResult GetAssets(string currency)
        {

            var viewModel = new GetAssetsViewModel
            {
                Currency = currency,
                Instruments = GlobalSettings.GetFinanceInstruments(currency).ToArray()
            };

            return View(viewModel);
        }