public ActionResult UserJiXianxing(FormCollection f) { int bbsMainID; int bbsDeID; bbsMainID = int.Parse(f["mainID"]); bbsDeID = int.Parse(f["deID"]); bizBBSDE bd = new bizBBSDE(); string result = bd.ShowNimingUserName(UserID, bbsMainID, bbsDeID, f["cardName"]); TempData["Msg"] = result; return Content(result); }
public ActionResult UseCardToUser(FormCollection f) { int bbsMainID; int bbsDeID; bbsMainID = int.Parse(Request.QueryString["mainid"].ToString()); bbsDeID = int.Parse(Request.QueryString["deid"].ToString()); bizBBSDE bd = new bizBBSDE(); string result = bd.ShowNimingUserName(UserID, bbsMainID, bbsDeID,f["cardName"]); TempData["Msg"] = result; return Redirect("/bbs/UseCardToUser.html?mainid="+bbsMainID+"&deid="+bbsDeID); }