Exemple #1
0
        public string Action(string name)
        {
            var    service = new GreetingService();
            string message = service.Greet(name);

            return(message.ToUpper());
        }
        public string Hello(string name)
        {
            var service = new GreetingService();

            return(service.Greet(name));
        }
Exemple #3
0
        public void Launch()
        {
            var service = new GreetingService();

            service.Greet();
        }