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