Remove Create new file method in PriceList class

This commit is contained in:
Sergey Chebotar 2022-01-26 17:43:09 +03:00
parent 4a2ca16d8b
commit ec1059ed5d

View File

@ -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;
}
}
}