예제 #1
0
        public List <PropertyResponse> GetPropertyInRange(int low, int high)
        {
            var propertyEntities = PropertyRepository.GetPropertyInRange(low, high);

            foreach (var property in propertyEntities)
            {
                PropertyResponses.Add(_mapper.Map <PropertyResponse>(property));
            }
            return(PropertyResponses);
        }