using JSMR.Application.VoiceWorks.Ports;

namespace JSMR.Application.VoiceWorks.Commands.Delete;

public sealed class DeleteVoiceWorkHandler(IVoiceWorkWriter writer)
{
    public async Task<DeleteVoiceWorkResponse> HandleAsync(DeleteVoiceWorkRequest request, CancellationToken cancellationToken = default)
    {
        return await writer.DeleteAsync(request, cancellationToken);
    }
}