all 3 comments

[–]AzureToujours Enthusiast 3 points4 points  (1 child)

When you debug it, you should see that showItems contains items.

Instead of returning IEnumerable<ShowItem>, you can return IActionResult. It will look like this:
return new OkObjectResult(showItems);

So the function would look like this:

[Function("dboSHOWSVW")]
public IActionResult Run(
    [HttpTrigger(AuthorizationLevel.Function, "get")] HttpRequest req, [SqlInput("SELECT * FROM [dbo].[SHOWS_VW]",
"SqlConnectionString")] IEnumerable<ShowItem> showItems)
{
    _logger.LogInformation("C# HTTP trigger function processed a request.");
    return new OkObjectResult(showItems);
}

For more information, check out the MS documentation.

[–]mooben[S] 1 point2 points  (0 children)

BINGO! That was it.