Ejemplo n.º 1
0
 public async Task <APIGatewayProxyResponse> Handle(APIGatewayProxyRequest request, ILambdaContext context)
 {
     return(await Func.Handle(request.PathParameters["commandName"], request, context));
 }
Ejemplo n.º 2
0
 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));
 }
Ejemplo n.º 3
0
 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));
 }