Browse Source

re-worded the part where we instruct the user to use `BookStorePageModelBase` as base

pull/454/head
John Barrett 8 years ago
committed by GitHub
parent
commit
efda3482e1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/Tutorials/AspNetCore-Mvc/Part-I.md

2
docs/Tutorials/AspNetCore-Mvc/Part-I.md

@ -308,7 +308,7 @@ Open the `Index.cshtml` and change the content as shown below:
<h2>Books</h2>
````
* This page **inherits** from the `BookStorePageBase` class which comes with the startup template and provides some shared properties/methods used by all pages.
* Change the default inhertitance of the Razor View Page Model so it **inherits** from the `BookStorePageBase` class (instead of `PageModel`). The `BookStorePageBase` class which comes with the startup template and provides some shared properties/methods used by all pages.
#### Add Books Page to the Main Menu

Loading…
Cancel
Save