Ejemplo n.º 1
0
        public ActionResult GetAssets(string asset)
        {

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

            return View(viewModel);
        }
Ejemplo n.º 2
0
        public ActionResult GetAssets(string currency)
        {

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

            return View(viewModel);
        }