public async Task <IActionResult> Run( [HttpTrigger(AuthorizationLevel.Function, "get", Route = "Talk")] HttpRequest req, ILogger log) { log.LogInformation("Get Talks"); var talks = await _talkService.GetTalks(); if (talks == null || !talks.Any()) { return(new NoContentResult()); } return(new OkObjectResult(talks)); }