initial commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
namespace Application.Common.Services.FileDocumentManager;
|
||||
public interface IFileDocumentService
|
||||
{
|
||||
Task<string> UploadAsync(
|
||||
string? originalFileName,
|
||||
string? docExtension,
|
||||
byte[]? fileData,
|
||||
long? size,
|
||||
string? description = "",
|
||||
string? createdById = "",
|
||||
CancellationToken cancellationToken = default);
|
||||
|
||||
Task<byte[]> GetFileAsync(string fileName, CancellationToken cancellationToken = default);
|
||||
}
|
||||
Reference in New Issue
Block a user