コード例 #1
0
 public async Task <IList <Podcast> > GetAllPodcastsAsync()
 {
     try
     {
         return(await _repository.GetAllPodcastsAsync());
     }
     catch (Exception ex)
     {
         throw new InvalidOperationException("ERROR GetAllPodcasts: " + ex.ToString(), ex);
         // throw new Exception();
     }
 }