Beispiel #1
0
        public void GetGeopointsOfAreaTest()
        {
            var points = _repository.GetByArea(1);

            Assert.IsNotNull(points);
            Assert.AreEqual(1, points.Count);
            Assert.AreEqual(22.03398, points[0].Longitude);
        }
Beispiel #2
0
 private List <AreaMPZT> fillAreasGeopoints(List <AreaMPZT> list)
 {
     foreach (var item in list)
     {
         item.GeoPoints = _geopointRepository.GetByArea(item.Id);
     }
     return(list);
 }