Пример #1
0
 public async Task <ActionResult <List <SubjectViewModel> > > ListLatestReleaseSubjects(Guid publicationId)
 {
     return(await _publicationService
            .GetLatestRelease(publicationId)
            .OnSuccess(release => _cacheKeyService.CreateCacheKeyForReleaseSubjects(release.Id))
            .OnSuccess(ListLatestReleaseSubjects)
            .HandleFailuresOrOk());
 }