internal IEnumerable <Review> Get() { return(_repo.Get()); }
public ReviewDto GetReviewById(string id) { var entity = _reviewsRepository.Get(id); return(Mapper.Map <ReviewDto>(entity)); }
//NOTE is this route necessary? internal IEnumerable <Review> GetAll() { IEnumerable <Review> reviews = _revsrepo.Get(); return(reviews.ToList().FindAll(r => r.Published)); }