using MediatR;

namespace StorageService.API.Application.Commands;

/// <summary>
/// EN: Command to delete a file.
/// VI: Command để xóa file.
/// </summary>
public record DeleteFileCommand(
    Guid FileId,
    string UserId
) : IRequest<DeleteFileResult>;

/// <summary>
/// EN: Result of file deletion.
/// VI: Kết quả xóa file.
/// </summary>
public record DeleteFileResult(
    bool Success,
    string? Error);
