public void DeleteRight(as_rights item) { try { db.DeleteRight(item.id); } catch (Exception ex) { RDL.Debug.LogError(ex); } }