Пример #1
0
        public ActionResult GiveMoney(FormCollection f)
        {
            bizUsers u = new bizUsers();
            string str = u.GiveMoney(UserID, f["GiveMoneyUserName"].Trim(), int.Parse(f["GiveMoneyNum"]));
            if (str != "")
            {
                TempData["Msg1"] = str;
                return RedirectToAction("selfBank");
            }

            return RedirectToAction("GiveMoneyLog");
        }