Beispiel #1
0
        public void RestoreDetails(string filePath)
        {
            var repo   = new DisconnectedRepository();
            var reader = new BackupReader();

            var ipDetails = reader.ParseIpDetails(filePath);



            repo.ClearDetailTable();

            foreach (var detail in ipDetails)
            {
                repo.AddNewIpDetail(detail);
            }
        }