예제 #1
0
 public async Task <Podcast> GetPodcastByIdAsync(int id)
 {
     //throw new NotImplementedException();
     try
     {
         return(await _repository.GetPodcastByIdAsync(id));
     }
     catch (Exception ex)
     {
         throw new InvalidOperationException("ERROR GetPodcastById: " + ex.ToString(), ex);
     }
 }