public IActionResult All() { var genres = reviewsService.GetAll <ReviewViewModel>(1, Common.GlobalConstants.DefaultItemsPerPage); return(this.View(genres)); }
public ActionResult <IEnumerable <ReviewsVM> > Get() { return(_reviewsService.GetAll()); }
public IActionResult GetAllReviews() { var reviews = AutoMapper.Mapper.Map <List <ReviewResponse> >(_reviewService.GetAll()); return(Ok(reviews)); }
public IActionResult GetAllReviews() { return(Ok(_reviewService.GetAll())); }