Ejemplo n.º 1
0
 public ActionResult Delete(long id)
 {
     LineSvc.MarkDeleted(id);
     return(Json(new AjaxResult {
         status = "ok"
     }));
 }
Ejemplo n.º 2
0
 public ActionResult BatchDelete(long[] selectedIds)
 {
     foreach (long id in selectedIds)
     {
         LineSvc.MarkDeleted(id);
     }
     return(Json(new AjaxResult {
         status = "ok"
     }));
 }