public void GetAllGeoPoints() { var points = geoPointService.GetGeoPoints(); Assert.AreEqual(69.9, points[0].Latitude); Assert.AreEqual(1, points[1].Id); }
// GET api/GeoPoint public IList <GeoPoint> GetGeoPoints() { return(_geoPointService.GetGeoPoints()); }