public ActionResult GetAssets(string asset) { var viewModel = new GetAssetsViewModel { Asset = asset, AssetPairs = _assetPairsDictionary.FindByBasedOrQuotingAsset(asset).ToArray() }; return View(viewModel); }
public ActionResult GetAssets(string currency) { var viewModel = new GetAssetsViewModel { Currency = currency, Instruments = GlobalSettings.GetFinanceInstruments(currency).ToArray() }; return View(viewModel); }