public async Task <IActionResult> RunAsync( [HttpTrigger(AuthorizationLevel.Function, "get", Route = null)] HttpRequest req, ILogger log) { log.LogInformation("C# HTTP trigger function processed a request."); var todos = await todoManager.GetTodosAsync().ConfigureAwait(false); return(new OkObjectResult(todos)); }