Пример #1
0
 public async Task <APIGatewayProxyResponse> Handle(APIGatewayProxyRequest request, ILambdaContext context)
 {
     return(await Func.Handle(request.PathParameters["commandName"], request, context));
 }
Пример #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));
 }
Пример #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));
 }