This commit is contained in:
2020-06-26 20:06:58 +00:00
parent e7c677365a
commit 3a987f3477
7 changed files with 91 additions and 50 deletions

View File

@@ -63,7 +63,7 @@ namespace AyaNova.Api.ControllerHelpers
var CleanedUploadFileName = contentDisposition.FileName.Value.Replace("\"", "");
//get temp file path and temp file name
filePathAndName = FileUtil.NewRandomUserFilesFolderFileName;
filePathAndName = FileUtil.NewRandomAttachmentFilesFolderFileName;
//save to disk
using (var stream = new FileStream(filePathAndName, FileMode.Create))