/// <summary> /// This sends money to another user using the secured token (with the method Banking.SenderUsername) /// </summary> /// <param name="transfer"></param> /// <returns></returns> public ActionResult SendTransfer(TransferViewModel transfer) { transfer.SenderUsername = Session["username"].ToString(); if (Banking.SendTransfer(transfer)) { TempData["Msg"] = "🎉 Transfer In-progress!!!"; return(RedirectToAction("Main")); } TempData["Msg"] = "😢 Sorry transaction failed *Click Back-arrow in brawers to Try-Again*."; return(RedirectToAction("Main")); }