private async Task <FileInfo> GetReleaseFileInfo(ReleaseFile releaseFile) { var blobExists = await _blobStorageService.CheckBlobExists( PrivateReleaseFiles, releaseFile.Path() ); if (!blobExists) { return(releaseFile.ToFileInfoNotFound()); } var blob = await _blobStorageService.GetBlob(PrivateReleaseFiles, releaseFile.Path()); return(releaseFile.ToFileInfo(blob)); }
private async Task <FileInfo> ToAncillaryFileInfoNotFound(ReleaseFile releaseFile) { await HydrateReleaseFile(releaseFile); return(releaseFile.ToFileInfoNotFound()); }