From ec1059ed5d4c158e29587af8a35bd9b5c783b325 Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Wed, 26 Jan 2022 17:43:09 +0300 Subject: [PATCH] Remove Create new file method in PriceList class --- src/PriceListTools/PriceList.cs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/PriceListTools/PriceList.cs b/src/PriceListTools/PriceList.cs index b8bd7b7..e6aa826 100644 --- a/src/PriceListTools/PriceList.cs +++ b/src/PriceListTools/PriceList.cs @@ -38,15 +38,6 @@ namespace RehauSku.PriceListTools //OfferSheet = Sheet.Where(s => s.Name == offerSheetHeader).FirstOrDefault(); } - - public static string CreateNewFile() - { - string fileExtension = Path.GetExtension(RegistryUtil.PriceListPath); - string path = Path.GetTempFileName() + fileExtension; - - File.Copy(RegistryUtil.PriceListPath, path); - return path; - } } }