Example #1
0
        public IEnumerable <WeatherForecast> Get()
        {
            System.Threading.Thread.Sleep(2000); // for dramatic effect during demo
            var forecaster = new WeatherForecaster();

            return(forecaster.GetForecast());
        }
Example #2
0
        public IEnumerable <WeatherForecast> Get()
        {
            var forecaster = new WeatherForecaster();

            return(forecaster.GetForecast());
        }