Beispiel #1
0
#pragma warning disable VSTHRD200 // Use "Async" suffix for async methods - Name must be "Run" for this to work AFAIK
        public static async Task <IActionResult> Run([HttpTrigger(AuthorizationLevel.Anonymous, "get", Route = null)] HttpRequest req, ILogger log) =>
#pragma warning restore VSTHRD200 // Use "Async" suffix for async methods
        new OkObjectResult(CodeConverterVersion.GetVersion());
Beispiel #2
0
 public async Task <IActionResult> GetAsync() => Ok(CodeConverterVersion.GetVersion());