예제 #1
0
        // GET: Reviews/Edit/5
        public async Task <IActionResult> Edit(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            Review review = await _reviewsService.EditReviewGet(id);

            if (review == null)
            {
                return(NotFound());
            }
            return(View(review));
        }