示例#1
0
        public ActionResult Delete(Bid del)
        {
            if (Session["U_id"] == null)
            {
                return(RedirectToAction("index", "Home"));
            }
            else
            {
                bool status = false;

                db.BidDelete(del);
                status = true;

                //return RedirectToAction("index", "Bid",new { getid=del.P_id });
                return(new JsonResult {
                    Data = new { status = status }
                });
            }
        }