private async Task <ActionResult <PreReleaseAccessListViewModel> > GetViewModel( string publicationSlug, string?releaseSlug = null) { return(await _publicationService.Get(publicationSlug) .OnSuccessCombineWith(_ => _releaseService.GetCachedRelease(publicationSlug, releaseSlug)) .OnSuccess(publicationAndRelease => { var(publication, release) = publicationAndRelease; return new PreReleaseAccessListViewModel(release !, publication); }) .HandleFailuresOrOk()); }