From 64313ffb5ce1819730c0cde60438679c7985274a Mon Sep 17 00:00:00 2001 From: Steven Owen Nell <12516056+StevenOwenNell@users.noreply.github.com> Date: Sun, 23 Jun 2019 16:55:55 +0200 Subject: [PATCH] Fix all references to PageBase --- docs/en/Tutorials/AspNetCore-Mvc/Part-I.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/en/Tutorials/AspNetCore-Mvc/Part-I.md b/docs/en/Tutorials/AspNetCore-Mvc/Part-I.md index 288f7fe075..460b5b7ebe 100644 --- a/docs/en/Tutorials/AspNetCore-Mvc/Part-I.md +++ b/docs/en/Tutorials/AspNetCore-Mvc/Part-I.md @@ -337,13 +337,13 @@ Open the `Index.cshtml` and change the content as shown below: ````html @page @using Acme.BookStore.Web.Pages.Books -@inherits Acme.BookStore.Web.Pages.BookStorePageBase +@inherits Acme.BookStore.Web.Pages.BookStorePage @model IndexModel

Books

```` -* This code changes the default inheritance 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. +* This code changes the default inheritance of the Razor View Page Model so it **inherits** from the `BookStorePage` class (instead of `PageModel`). The `BookStorePage` class which comes with the startup template and provides some shared properties/methods used by all pages. * Ensure that the `IndexModel` (*Index.cshtml.cs)* has the `Acme.BookStore.Pages.Books` namespace, or update it in the `Index.cshtml`. #### Add Books Page to the Main Menu @@ -394,7 +394,7 @@ Change the `Pages/Books/Index.cshtml` as following: ````html @page -@inherits Acme.BookStore.Web.Pages.BookStorePageBase +@inherits Acme.BookStore.Web.Pages.BookStorePage @model Acme.BookStore.Web.Pages.Books.IndexModel @section scripts {