Skip to content

Commit eb9557b

Browse files
Update new-field.md (#16988)
* Update new-field.md If you do not change the binding then editing the rating will not work. * Update new-field.md * Update new-field.md * Update new-field.md Co-authored-by: Rick Anderson <[email protected]>
1 parent 95005c1 commit eb9557b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

aspnetcore/tutorials/first-mvc-app/new-field.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,10 @@ dotnet ef database update
125125
---
126126
<!-- End of VS tabs -->
127127

128-
Run the app and verify you can create/edit/display movies with a `Rating` field. You should add the `Rating` field to the `Edit`, `Details`, and `Delete` view templates.
128+
Run the app and verify you can create, edit, and display movies with a `Rating` field. Update the app:
129+
130+
* Add the `Rating` field to the `Edit`, `Details`, and `Delete` view templates.
131+
* Update the binding in the edit action method of the `MoviesController`.
129132

130133
> [!div class="step-by-step"]
131134
> [Previous](search.md)

0 commit comments

Comments
 (0)