Example #1
0
        public async Task <ActionResult> AddReview()
        {
            CreateReview _review = new CreateReview {
                RestaurantId = 0, Presentation = 5, Taste = 2, Texture = 3
            };
            await _reviewAppService.Create(_review);

            return(View());
        }
Example #2
0
        public async Task <ActionResult> AddReview(CreateReview input)
        {
            await _reviewAppService.Create(input);

            return(View());
        }