Files
2026-07-21 15:36:49 +07:00

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);
}