aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Services/Interfaces
diff options
context:
space:
mode:
authortranstrike <transtrike@gmail.com>2021-01-29 20:39:07 +0200
committertranstrike <transtrike@gmail.com>2021-01-29 20:39:07 +0200
commitb38d6693476917972345397298b534af2b8b8f78 (patch)
tree5e62376cf693a7233cec4ab341f658be5d9c4ec2 /src/DevHive.Services/Interfaces
parent2417df3ff2939b67695b80905f301ef53c905260 (diff)
downloadDevHive-b38d6693476917972345397298b534af2b8b8f78.tar
DevHive-b38d6693476917972345397298b534af2b8b8f78.tar.gz
DevHive-b38d6693476917972345397298b534af2b8b8f78.zip
File Upload implemented; Post Layers adapted to File Uploading
Diffstat (limited to 'src/DevHive.Services/Interfaces')
-rw-r--r--src/DevHive.Services/Interfaces/ICloudService.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/DevHive.Services/Interfaces/ICloudService.cs b/src/DevHive.Services/Interfaces/ICloudService.cs
new file mode 100644
index 0000000..6616444
--- /dev/null
+++ b/src/DevHive.Services/Interfaces/ICloudService.cs
@@ -0,0 +1,13 @@
+using System.Collections.Generic;
+using System.Threading.Tasks;
+using Microsoft.AspNetCore.Http;
+
+namespace DevHive.Services.Interfaces
+{
+ public interface ICloudService
+ {
+ Task<List<string>> UploadFilesToCloud(List<IFormFile> formFiles);
+
+ Task<bool> RemoveFilesFromCloud(List<string> fileUrls);
+ }
+}