public async Task <APIGatewayProxyResponse> Handle(APIGatewayProxyRequest request, ILambdaContext context) { return(await Func.Handle(request.PathParameters["commandName"], request, context)); }
public static async Task <HttpResponseMessage> Run([HttpTrigger(AuthorizationLevel.Anonymous, "post", Route = "command/{commandName}")] HttpRequestMessage req, TraceWriter log, string commandName) { return(await Func.Handle(commandName, req, log)); }
public static async Task <IActionResult> Run([HttpTrigger(AuthorizationLevel.Anonymous, "post", Route = "command/{commandName}")] HttpRequest req, ILogger log, string commandName) { return(await Func.Handle(commandName, req, log)); }