예제 #1
0
 public async Task <IEnumerable <Banner> > GetSeriesBanners(int seriesId)
 {
     try
     {
         var banners = (await _client.GetImagesAsync(seriesId, GetImageQuery(BannerType.season)).ConfigureAwait(false)).Data;
         return(banners.Select(Map));
     }
     catch (Exception)
     {
         return(Enumerable.Empty <Banner>());
     }
 }