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