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

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

            return(forecaster.GetForecast());
        }