public void deleteAlarmRuleCatalog(int id) { DBHelper._AlarmRuleCatalog dbhelp = new DBHelper._AlarmRuleCatalog(); AlarmRuleCatalog existingAlarmRuleCatalog = dbhelp.GetByid(id); dbhelp.Delete(existingAlarmRuleCatalog); }