Example #1
0
        internal object GetReviewsByProfileId(string id)
        {
            IEnumerable <Review> reviews = _revsrepo.GetByOwnerId(id);

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