コード例 #1
0
        public IEnumerable <ReviewDto> GetReviewsByPlace(string placeId)
        {
            var entities = _reviewsRepository.GetReviewsByPlace(placeId);
            var dtos     = entities.Select(x => Mapper.Map <ReviewDto>(x));

            return(dtos);
        }