public Task <IEnumerable <SearchTvShowViewModel> > Trending(int currentPosition, int amountToLoad) { return(_mediaCacheService.GetOrAddAsync(nameof(Trending) + currentPosition + amountToLoad, () => _tvEngineV2.Trending(currentPosition, amountToLoad), DateTimeOffset.Now.AddHours(12))); }
public async Task <IEnumerable <SearchTvShowViewModel> > Trending(int currentPosition, int amountToLoad) { return(await _tvEngineV2.Trending(currentPosition, amountToLoad)); }