public ActionResult Recovery(long id) { GuideSvc.RecoveryDeleted(id); GuideUserSvc.RecoveryDeleted(id); return(Json(new AjaxResult { status = "ok" })); }
public ActionResult BatchRecovery(long[] selectedIds) { foreach (long id in selectedIds) { GuideSvc.RecoveryDeleted(id); GuideUserSvc.RecoveryDeleted(id); } return(Json(new AjaxResult { status = "ok" })); }