Example #1
0
        public ActionResult <string> GetByLocation(string lat, string lon)
        {
            WeatherGet weather = new WeatherGet();
            string     result  = weather.GetWeatherLocation(lat, lon);

            return(result);
        }
Example #2
0
        public ActionResult <string> GetByCity()
        {
            WeatherGet weather = new WeatherGet();
            string     result  = weather.GetWeatherCity("London,uk");

            return(result);
        }
Example #3
0
        public ActionResult <string> GetByCity(string city)
        {
            WeatherGet weather = new WeatherGet();
            string     result  = weather.GetWeatherCity(city);

            return(result);
        }