public async Task Write(InternalVideo internalVideo) { _logger.Information($"Saving video {internalVideo.Name}."); await _videoWriter.Write(internalVideo); _logger.Information("Done saving video chat."); }
public async Task Process(VideoOptions options) => await _videoRetriever.GetVideo(options.VideoId) .OnSuccess(internalVideo => _videoWriter.Write(internalVideo));