public VideoSearchTrendResponse TrendingSearch() { return(PolicyService.ExecuteRetryAndCapture400Errors( "VideoSearchService.TrendingSearch", ApiKeys.BingSearchRetryInSeconds, () => { var result = VideoSearchRepository.TrendingSearch(); return result; }, null)); }
public VideoSearchTrendResponse TrendingSearch() { try { var result = VideoSearchRepository.TrendingSearch(); return(result); } catch (Exception ex) { Logger.Error("VideoSearchService.TrendingSearch failed", this, ex); } return(null); }