示例#1
0
 public object Post(GeoInfo request)
 {
     return(new GeoInfoResponse
     {
         Result = "Incoming Geopoint: Latitude="
                  + request.GeoCode.latitude.ToString()
                  + " Longitude="
                  + request.GeoCode.longitude.ToString()
     });
 }
示例#2
0
		public object Post(GeoInfo request)
		{
			return new GeoInfoResponse
			{
				Result = "Incoming Geopoint: Latitude="
					+ request.GeoCode.latitude.ToString()
					+ " Longitude="
					+ request.GeoCode.longitude.ToString()
			};
		}