예제 #1
0
        public static bool BookTaxi([ActivityTrigger] object input, ILogger log)
        {
            var randomFlag = RandomFlagGenerator.Generate();

            log.LogInformation($"Taxi {randomFlag.Message}.");
            return(randomFlag.Flag);
        }
예제 #2
0
        public static bool BookFlight([ActivityTrigger] string id, ILogger log)
        {
            var randomFlag = RandomFlagGenerator.Generate();

            log.LogInformation($"Flight {randomFlag.Message}.");
            return randomFlag.Flag;
        }