예제 #1
0
 public ActionResult ComboInfoDelete()
 {
     int id = Request["Id"].ToInt32(0);
     int result = VideoServiceClass.ComboInfo_DeleteById(id);
     if (result > 0)
     {
         return Json(new { success = true, errors = new { text = "删除成功" } });
     }
     else
     {
         return Json(new { success = true, errors = new { text = "删除失败" } });
     }
 }