Exemplo n.º 1
0
        public PodcastIndexViewModel Search(string query = null)
        {
            var viewModel = new PodcastIndexViewModel
            {
                Items        = _podcastRepository.Search(query),
                EpisodeCount = _episodeRepository.EpisodeCount()
            };

            return(viewModel);
        }