public static byte[] getZipFile() { ConsoleHelper.WriteQuestionLine("Please enter the path directory package:"); string path = Console.ReadLine(); byte[] zipFile = ManageFileZip.createZipFile(path, false); return(zipFile); }
public static byte[] getZipFile(string directoryTarget) { ConsoleHelper.WriteQuestionLine("Please enter the path directory package:"); ConsoleHelper.WriteDocLine(directoryTarget); string path = directoryTarget; byte[] zipFile = ManageFileZip.createZipFile(path, true); return(zipFile); }