public async static Task <IActionResult> Run([HttpTrigger(AuthorizationLevel.Anonymous, "get", Route = "tableMRNotes")] HttpRequest req, [Table("mrnotes", Connection = "AzureWebJobsStorage")] CloudTable notesTable, ILogger log) { log.LogInformation("C# HTTP trigger function processed a request."); if (_dataSource == null) { _dataSource = new TableStorageDataSource(notesTable); } var notes = await _dataSource.GetNotesAsync(); return(new OkObjectResult(notes)); }