示例#1
0
        public async Task <IActionResult> RunAsync(
            [HttpTrigger(AuthorizationLevel.Function, "get", Route = "Diagnosis")] HttpRequest req)
        {
            Logger.LogInformation($"{nameof(DiagnosisApi)} {nameof(RunAsync)} processed a request.");

            var result = await Diagnosis.GetNotApprovedAsync();

            return(new OkObjectResult(result));
        }