Пример #1
0
        internal IEnumerable <Review> GetByRestaurantId(int id)
        {
            IEnumerable <Review> reviews = _revsrepo.GetByRestaurantId(id);

            return(reviews.ToList().FindAll(r => r.Published));
        }