Exemplo n.º 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));
        }
Exemplo n.º 2
0
        //[SessionExpire]
        public ActionResult CryptoExchange(int?id)
        {
            var Coins = MatchBxCommon.GetOnlyUsefullCoins();

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