Пример #1
0
        public static async Task <HttpResponseMessage> Som([HttpTrigger(AuthorizationLevel.Anonymous, "get", "post", Route = "calculator/som/{number1}/{number2}")] HttpRequestMessage req, int number1, int number2, TraceWriter log)
        {
            log.logInformation("C# HTTP trigger function processed a request.");
            int som = number1 + number2;

            return(new OkO(som));
        }