private static void Duplicate(XmlDBManager xmlDbManager, IEnumerable <DBEntity> duplicateRecord)
 {
     foreach (var dbEntity in duplicateRecord)
     {
         xmlDbManager.Delete(dbEntity);
     }
 }