Esempio n. 1
0
 private static void Main()
 {
     Console.WriteLine("AutoReservationService starting...");
     AutoReservationServiceHost.StartService();
     Console.WriteLine("AutoReservationService started...");
     Console.ReadLine();
     AutoReservationServiceHost.StopService();
 }
Esempio n. 2
0
        static void Main(string[] args)
        {
            Console.WriteLine("AutoReservationService starting.");
            AutoReservationServiceHost.StartService();
            Console.WriteLine("AutoReservationService started.");
            Console.WriteLine();
            Console.WriteLine("Press Return to stop the Service.");

            Console.ReadLine();
            AutoReservationServiceHost.StopService();
        }