Exemple #1
0
 /// <summary>
 /// Delete file
 /// </summary>
 /// <param name="path">Path</param>
 /// <returns>True/False</returns>
 public static bool DeleteFile(string path)
 {
     return(FileHelper.DeleteFile(path));
 }
Exemple #2
0
 /// <summary>
 /// Upload file
 /// </summary>
 /// <param name="data">Stream</param>
 /// <param name="path">Path</param>
 public static void UploadFile(Stream data, string path)
 {
     FileHelper.SaveFile(data, path);
 }