private static void AuditFile(Row row, AuditFileFieldInfo fileInfo, string fileSubFolder, ICollection <string> filesToDelete) { // TODO: fix //var historyFile = UploadHelper.CopyFileAndRelatedToHistory(UploadHelper.UploadFilePath(fileSubFolder, fileInfo.Filename[row])); //fileInfo.Filename[row] = historyFile; //if (fileInfo.OriginalName != null && // !row.IsAssigned(fileInfo.OriginalName)) // fileInfo.OriginalName.Copy(row, row); //if (fileInfo.Size != null && // !row.IsAssigned(fileInfo.Size)) // fileInfo.Size.Copy(row, row); //filesToDelete.Add(UploadHelper.UploadFilePath(fileUploadRoot, UploadHelper.HistoryFolder, historyFile)); }
private static void AuditFile(Row row, AuditFileFieldInfo fileInfo, string fileSubFolder, ICollection<string> filesToDelete) { // TODO: fix //var historyFile = UploadHelper.CopyFileAndRelatedToHistory(UploadHelper.UploadFilePath(fileSubFolder, fileInfo.Filename[row])); //fileInfo.Filename[row] = historyFile; //if (fileInfo.OriginalName != null && // !row.IsAssigned(fileInfo.OriginalName)) // fileInfo.OriginalName.Copy(row, row); //if (fileInfo.Size != null && // !row.IsAssigned(fileInfo.Size)) // fileInfo.Size.Copy(row, row); //filesToDelete.Add(UploadHelper.UploadFilePath(fileUploadRoot, UploadHelper.HistoryFolder, historyFile)); }