Реализация 5 лабораторной работы

This commit is contained in:
2026-11-27 20:06:14 +03:00
parent 276dbdad8a
commit 4fe4ab3432
116 changed files with 11883 additions and 25 deletions
@@ -0,0 +1,21 @@
namespace Messenger.Api.Services;
public interface IAttachmentStorage
{
Task CheckAsync(CancellationToken ct);
Task PutAsync(
string objectKey,
Stream content,
string contentType,
CancellationToken ct,
bool createOnly = false);
Task CopyToAsync(
string objectKey,
Stream destination,
CancellationToken ct);
Task DeleteAsync(
string objectKey,
CancellationToken ct);
}