public static IActionResult Run( [HttpTrigger(AuthorizationLevel.Function, "get", "post", Route = null)] HttpRequest req, ILogger log) { log.LogInformation("Create HTTP trigger function processed a request."); var result = AESManager.CreateAESKeyAndIV(); return(new JsonResult(result)); }