Update reference to customer model (#15275)

Updated reference to customer model in the Validation section  to the following reference: [!code-cs[](index/3.0sample/RazorPagesContacts/Models/Customer.cs)]. Customer model in "Write a basic form" section and the "Validation" section will reference the same code.
pull/15284/head
Alex Ayon 2019-10-23 14:59:54 -05:00 committed by Rick Anderson
parent 82c4a61ed2
commit 892a0f0e47
1 changed files with 1 additions and 1 deletions

View File

@ -262,7 +262,7 @@ The <xref:System.ComponentModel.DataAnnotations> namespace provides a set of bui
Consider the `Customer` model:
[!code-cs[](index/sample/RazorPagesContacts/Data/Customer.cs)]
[!code-cs[](index/3.0sample/RazorPagesContacts/Models/Customer.cs)]
Using the following *Create.cshtml* view file: