Remove Create new file method in PriceList class
This commit is contained in:
parent
4a2ca16d8b
commit
ec1059ed5d
@ -38,15 +38,6 @@ namespace RehauSku.PriceListTools
|
|||||||
|
|
||||||
//OfferSheet = Sheet.Where(s => s.Name == offerSheetHeader).FirstOrDefault();
|
//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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user