public async Task <IActionResult> PodcastBySlug(string slug) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } IPodcastModel podcastModel = await _podcastService.GetPodcastBySlug(slug); if (podcastModel == null) { return(NotFound()); } return(Ok(podcastModel)); }