using JSMR.Application.Tags.Ports;

namespace JSMR.Application.Tags.Commands.UpdateTagStatus;

public sealed class UpdateTagStatusHandler(ITagWriter writer)
{
    public Task<UpdateTagStatusResponse> HandleAsync(UpdateTagStatusRequest request, CancellationToken cancellationToken = default)
    {
        return writer.UpdateStatusAsync(request, cancellationToken);
    }
}