public Task <SearchFullInfoTvShowViewModel> GetTvInfoByRequest(int requestId) { return(_mediaCacheService.GetOrAddAsync(nameof(GetTvInfoByRequest) + requestId, () => _tvEngineV2.GetShowByRequest(requestId, HttpContext.RequestAborted), DateTimeOffset.Now.AddHours(12))); }
public async Task <SearchFullInfoTvShowViewModel> GetTvInfoByRequest(int requestId) { return(await _tvEngineV2.GetShowByRequest(requestId, HttpContext.RequestAborted)); }