Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            IWeatherService weatherService = new WeatherServiceClient();

            Console.WriteLine("Simon says: {0}", weatherService.GetWeatherToday());
            WeatherData weatherData = weatherService.GetWeatherTomorrow();
            WeatherData weatherNext = weatherService.GetWeatherForDate(DateTime.Now.AddDays(1));

            Console.ReadLine();
        }