public async Task <ActionResult> InspirationPages() { var birdLink = await ApiServices.BirdsApi(); if (!birdLink.StartsWith("http")) { ViewBag.birdLink = birdLink; ViewBag.birdtext = "no link for this one"; } else { ViewBag.birdLink = ViewBag.birdtext = birdLink; } var myPages = new InspirationsList().myArrayOfPages; return(View(myPages)); }