Example #1
0
        public ActionResult todel(int id)
        {
            int rtn = LotteryActivitysAreaRedPackPrice.DeleteByID(id);

            return(Content(rtn > 0 ? "ok" : "删除失败"));
        }
Example #2
0
        public JsonResult getRedPackPrice(int id)
        {
            LotteryActivitysAreaRedPackPrice p = LotteryActivitysAreaRedPackPrice.GetEntityByID(id);

            return(Json(p, JsonRequestBehavior.AllowGet));
        }