public ActionResult FCommentDelete(int id) { if ((new bizFactionDe()).GetByIsAdmin(id) != FactionDeID && UserCommon.CheckBBSAdminRight(AdminType) == false) return RedirectToAction("FAdminAlert", new { id = id }); int commentID = int.Parse(Request.QueryString["commentID"].ToString()); bizFComment bfc = new bizFComment(); FComment model = bfc.Get(commentID); if(model.FactionID!=id) return RedirectToAction("FAdminAlert", new { id = id }); bfc.Delete(commentID); return RedirectToAction("FComment", new { id = id }); }