public void Search_PdvAddressLocation_ReturnsSamePdv()
        {
            const int id  = 1;
            var       pdv = _repository.Select(id);

            var response = _repository.Search(pdv.Address);

            Assert.IsNotNull(response);
            Assert.AreEqual(pdv, response);
        }
        public PdvResponse Search(double lng, double lat)
        {
            IPoint location = new Point(lng, lat);

            location.SRID = 4326;

            Pdv pdv = _repository.Search(location);

            if (pdv == null)
            {
                return(null);
            }

            return(new PdvResponse(pdv));
        }