Exemplo n.º 1
0
        // GET: UserProfile
        public ActionResult Index()
        {
            IEnumerable <ReviewViewModel> data = reviewService.GetAllReview();

            return(View(data));
        }
Exemplo n.º 2
0
        public async Task <ActionResult <IEnumerable <Review> > > GetUserReview()
        {
            var result = await _reviewService.GetAllReview();

            return(Ok(result));
        }