public IEnumerable <GetReview> ListAll() { var getAll = _reviewManager.GetAll().ToList(); List <GetReview> output = Mapper.Map <List <Review>, List <GetReview> >(getAll); return(output); }
public ActionResult <IEnumerable <Review> > Get() { return(Ok(_reviewManager.GetAll())); }