Beispiel #1
0
        public async Task <IPodcastModel> GetSpecialBySlug(string slug)
        {
            if (slug == null)
            {
                throw new ArgumentNullException(nameof(slug));
            }

            Special special = await _podcastRepository.GetSpecialBySlug(slug);

            IPodcastModel podcastModel = await _podcastModelMapper.Map(special);

            return(podcastModel);
        }