Beispiel #1
0
 public async Task <IReadOnlyCollection <SocialMediaImage> > GetLatestInstagramImages(Guid chapterId)
 {
     return(await _cacheService.GetOrSetItem(() => _instagramService.FetchInstagramImages(chapterId),
                                             chapterId, TimeSpan.FromMinutes(60)));
 }