public async Task <Task> Handle(DeleteVideoCommand request, CancellationToken cancellationToken) { await _videoRepository.DeleteAsync(request.VideoId); return(Task.CompletedTask); }
public async Task <bool> DeleteVideoAsync(Guid id) { return(await _repository.DeleteAsync(id)); }