Exemplo n.º 1
0
        /// <summary>
        /// Возвращает список точек интереса id name address
        /// </summary>
        public List <DtoPointOfInterest> GetPOIList()
        {
            var result = _locationRepository.AllPOI().Select(c => new DtoPointOfInterest  {
                Id = c.Id, Name = c.Name, Address = c.Address
            }).ToList();

            return(result);
        }