Commit 4f28e4f
authored
Referred to ModelState.IsValid as a property (#20291)
In the "Processing the POST Request" section we have a paragraph telling us that "The `ModelState.IsValid` method verifies...", I thought it must be an error because as we can see in the documentation ModelState.IsValid is not a method but a property
https://docs.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.mvc.modelbinding.modelstatedictionary.isvalid?view=aspnetcore-3.1#Microsoft_AspNetCore_Mvc_ModelBinding_ModelStateDictionary_IsValid1 parent 8a6c821 commit 4f28e4f
File tree
1 file changed
+1
-1
lines changed- aspnetcore/tutorials/first-mvc-app
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
0 commit comments