Ejemplo n.º 1
0
 private static void Main()
 {
     Console.WriteLine("AutoReservationService starting...");
     AutoReservationServiceHost.StartService();
     Console.WriteLine("AutoReservationService started...");
     Console.ReadLine();
     AutoReservationServiceHost.StopService();
 }
Ejemplo 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();
        }