Website Summary Files Commits Branches @commit @diff @stats
path: root / src / DevHive.Web / Models / Post / ReadPostWebModel.cs
diff options
context:
space:
mode:
Commit640f50e19bf8aa598fcd63c5e27c2eda2451d86c (patch)
Author
 transtrike <transtrike@gmail.com>
2021-02-01 09:14:29 +0200
Committer
 transtrike <transtrike@gmail.com>
2021-02-01 09:14:29 +0200
Files3382064cef7e6310a6eb7f7a6d9d7f1adcf99f78 /src/DevHive.Web/Models/Post/ReadPostWebModel.cs
DevHive-640f50e19bf8aa598fcd63c5e27c2eda2451d86c.tar
DevHive-640f50e19bf8aa598fcd63c5e27c2eda2451d86c.tar.gz
DevHive-640f50e19bf8aa598fcd63c5e27c2eda2451d86c.zip
Parent0ed4c282dc64ad44229b949559f931e9aae2e047 (diff)
Post returns file urls
1 files changed, 3 insertions, 2 deletions
-rw-r--r--src/DevHive.Web/Models/Post/ReadPostWebModel.cs5
diff --git a/src/DevHive.Web/Models/Post/ReadPostWebModel.cs b/src/DevHive.Web/Models/Post/ReadPostWebModel.cs
index 1d2669e..64855cc 100644
--- a/src/DevHive.Web/Models/Post/ReadPostWebModel.cs
+++ b/src/DevHive.Web/Models/Post/ReadPostWebModel.cs
@@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
using DevHive.Web.Models.Comment;
-using Microsoft.AspNetCore.Http;
+using Microsoft.AspNetCore.Mvc;
namespace DevHive.Web.Models.Post
{
@@ -21,6 +21,7 @@ namespace DevHive.Web.Models.Post
public List<ReadCommentWebModel> Comments { get; set; }
- public List<IFormFile> Files { get; set; }
+ public List<string> FileUrls { get; set; }
+ // public List<FileContentResult> Files { get; set; }
}
}