public ActionResult Delete(string key, string lstArrId) { if (key == Keyapi) { var lstInt = FDIUtils.StringToListInt(lstArrId); var lst = _da.GetListArrId(lstInt); foreach (var item in lst) { item.IsDelete = true; } _da.Save(); return(Json(1, JsonRequestBehavior.AllowGet)); } return(Json(0, JsonRequestBehavior.AllowGet)); }