public async Task <ApiResponse <Statistic> > GetPodcastStatisticOverallResponseAsync( int podcastId, OverallStatisticFilter overallStatisticFilter = null) { Ensure.GreaterThanZero(podcastId, nameof(podcastId)); ApiResponse <Statistic> apiResponse = await _restApiClient.GetApiResponseAsync <Statistic>( UrlPathBuilder.GetPodcastStatisticOverallUrl(podcastId), overallStatisticFilter?.ToQueryParams()); return(apiResponse); }
public async Task <Statistic> GetPodcastStatisticOverallAsync(int podcastId, OverallStatisticFilter overallStatisticFilter = null) { ApiResponse <Statistic> apiResponse = await GetPodcastStatisticOverallResponseAsync(podcastId, overallStatisticFilter); return(apiResponse.GetModel()); }