public ActionResult onRowRemoving(ContactInfo item) { ContactInfo info = new ContactInfo().GetByContactInfoID(item.ContactInfo_ID); try { info.DeleteByID(); return(JsonMax(new { result = "Success" })); } catch (Exception ex) { return(JsonMax(new { result = "NG", data = ex.ToString() })); ; throw ex; } }