public Task <IEnumerable <StreamingData> > GetTvStreams(int movieDbId) { return(_mediaCacheService.GetOrAddAsync(nameof(GetTvStreams) + movieDbId, () => _tvEngineV2.GetStreamInformation(movieDbId, HttpContext.RequestAborted), DateTimeOffset.Now.AddHours(12))); }
public Task <IEnumerable <StreamingData> > GetTvStreams(int movieDbId) { return(_tvEngineV2.GetStreamInformation(movieDbId, HttpContext.RequestAborted)); }