public bool Delete(DataSet dataSet) { bool flag = false; using (PersistentManager persistentManager = new PersistentManager()) { SysGroupDao GroupDao = new SysGroupDao(); GroupDao.DeleteEntity(dataSet); flag = true; } return(flag); }