forked from ddrilling/AsbCloudServer
15 lines
377 B
C#
15 lines
377 B
C#
|
using System.Threading;
|
||
|
using System.Threading.Tasks;
|
||
|
using System.IO;
|
||
|
|
||
|
namespace AsbCloudApp.Services
|
||
|
{
|
||
|
public interface IFileShareService
|
||
|
{
|
||
|
Task<string> PublishFileToCloudAsync(string filePath, string originalName,
|
||
|
CancellationToken token);
|
||
|
|
||
|
Task DeleteFileAsync(string sharedFileId,
|
||
|
CancellationToken token = default);
|
||
|
}
|
||
|
}
|