14 lines
463 B
C#
14 lines
463 B
C#
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);
|
|
} |