/// <summary>
 /// Queries the specified service.
 /// </summary>
 /// <param name="service">The service.</param>
 /// <param name="webServiceClient">The web service client.</param>
 /// <param name="bookAction">The book action.</param>
 private static void Query(ITimeService service, ITimeWebService webServiceClient, IBookAction bookAction)
 {
     for (int i = 0; i < QUERIES; i++)
     {
         Console.WriteLine("Server time (Service):    \t{0}", service.WhatTimeIsIt());
         Console.WriteLine("Server time (Web Service):\t{0}", webServiceClient.WhatTimeIsIt());
         Console.WriteLine("Server time + 1 Month:    \t{0}", webServiceClient.AddMonths(1));
         bookAction.PerformAction();
         Thread.Sleep(SLEEP);
     }
 }
 /// <summary>
 /// Queries the specified service.
 /// </summary>
 /// <param name="service">The service.</param>
 /// <param name="webServiceClient">The web service client.</param>
 /// <param name="bookAction">The book action.</param>
 private static void Query(ITimeService service, ITimeWebService webServiceClient, IBookAction bookAction)
 {
     for (int i = 0; i < QUERIES; i++)
     {
         Console.WriteLine("Server time (Service):    \t{0}", service.WhatTimeIsIt());
         Console.WriteLine("Server time (Web Service):\t{0}", webServiceClient.WhatTimeIsIt());
         Console.WriteLine("Server time + 1 Month:    \t{0}", webServiceClient.AddMonths(1));
         bookAction.PerformAction();
         Thread.Sleep(SLEEP);
     }
 }