public ActionResult Delete(long id) { GuideSvc.MarkDeleted(id); GuideUserSvc.MarkDeleted(id); return(Json(new AjaxResult { status = "ok" })); }
public ActionResult BatchDelete(long[] selectedIds) { foreach (var id in selectedIds) { GuideSvc.MarkDeleted(id); GuideUserSvc.MarkDeleted(id); } return(Json(new AjaxResult { status = "ok" })); }