public async ValueTask SaveAsync(IList <PullRequest> prDetails, string repoOwner, string repoName) { var parentDirectory = GetPathToRepoDataFiles(repoOwner, repoName); var path = Path.Combine(parentDirectory, _pullRequestDetails); var json = JsonConvert.SerializeObject(prDetails, _jsonSerializerSettings); _fs.DirectoryCreateDirectory(parentDirectory); await _fs.FileWriteAllTextAsync(path, json); }