Beispiel #1
0
        public void GetAllGeoPoints()
        {
            var points = geoPointService.GetGeoPoints();

            Assert.AreEqual(69.9, points[0].Latitude);
            Assert.AreEqual(1, points[1].Id);
        }
Beispiel #2
0
 // GET api/GeoPoint
 public IList <GeoPoint> GetGeoPoints()
 {
     return(_geoPointService.GetGeoPoints());
 }