private HeroCard CreateCard(StoryDocument story)
 {
     return(new HeroCard()
     {
         Title = story.CustomerName.FirstOrDefault(),
         Subtitle = story.IndustryName.FirstOrDefault(),
         Text = story.Headline,
         Images = new List <CardImage>()
         {
             new CardImage()
             {
                 Url = story.ImageUrl
             }
         },
         Buttons = new List <CardAction>()
         {
             new CardAction()
             {
                 Type = "openUrl",
                 Title = "Detail",
                 Value = "https://customers.microsoft.com/en-us/story/" + story.Id
             }
         }
     });
 }
 private ThumbnailCard CreatePreviewCard(StoryDocument story)
 {
     return(new ThumbnailCard()
     {
         Title = story.CustomerName.FirstOrDefault(),
         Subtitle = story.IndustryName.FirstOrDefault(),
         Images = new List <CardImage>()
         {
             new CardImage()
             {
                 Url = story.ImageUrl
             }
         }
     });
 }