Beispiel #1
0
 public ActionResult Delete(long id)
 {
     CommunitityService.MarkDeleted(id);
     return(Json(new AjaxResult {
         Status = "ok"
     }));
 }
Beispiel #2
0
        public ActionResult BatchDelete(long[] ids)
        {
            foreach (long id in ids)
            {
                CommunitityService.MarkDeleted(id);
            }

            return(Json(new AjaxResult {
                Status = "ok"
            }));
        }