Esempio n. 1
0
        public ActionResult <string> Get(int id)
        {
            var location = LocationHelper.GetCurrentLocation(id);

            dynamic jsonObject = new JObject();

            jsonObject.Latitude  = location.latitude;
            jsonObject.Longitude = location.longitude;

            return(jsonObject.ToString());
        }