Пример #1
0
        public ActionResult CryptoExchange(int?id, FormCollection form)
        {
            string fba = form["fba"];
            string fbb = form["fbb"];
            string fbc = form["fbc"];



            var price = MatchBxCommon.CoinConverter(fba, fbc, Convert.ToDecimal(fbb));

            ViewBag.fba = fba;
            ViewBag.fbb = fbb;
            ViewBag.fbc = fbc;
            ViewBag.fbd = price;
            var Coins = MatchBxCommon.GetOnlyUsefullCoins();

            return(View("CryptoExchange", Coins));
        }