public async Task <ApiResponse <Statistic> > GetEpisodeStatisticResponseAsync( int podcastId, EpisodeStatisticFilter episodeStatisticFilter) { Ensure.GreaterThanZero(podcastId, nameof(podcastId)); Ensure.ArgumentNotNull(episodeStatisticFilter, nameof(episodeStatisticFilter)); Ensure.GreaterThanZero(episodeStatisticFilter.EpisodeId, nameof(episodeStatisticFilter.EpisodeId)); ApiResponse <Statistic> apiResponse = await _restApiClient.GetApiResponseAsync <Statistic>( UrlPathBuilder.GetPodcastStatisticEpisodeUrl(podcastId), episodeStatisticFilter.ToQueryParams()); return(apiResponse); }