From daaa8a917a3d83834531e1f564f8bc506f891795 Mon Sep 17 00:00:00 2001 From: Steven Owen Nell <12516056+StevenOwenNell@users.noreply.github.com> Date: Sun, 23 Jun 2019 17:42:31 +0200 Subject: [PATCH] Removed 'Base' from 'BookStorePageModelBase' --- docs/en/Tutorials/AspNetCore-Mvc/Part-II.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/en/Tutorials/AspNetCore-Mvc/Part-II.md b/docs/en/Tutorials/AspNetCore-Mvc/Part-II.md index 067adcc756..1f76d3bf38 100644 --- a/docs/en/Tutorials/AspNetCore-Mvc/Part-II.md +++ b/docs/en/Tutorials/AspNetCore-Mvc/Part-II.md @@ -32,7 +32,7 @@ using Microsoft.AspNetCore.Mvc; namespace Acme.BookStore.Web.Pages.Books { - public class CreateModalModel : BookStorePageModelBase + public class CreateModalModel : BookStorePageModel { [BindProperty] public CreateUpdateBookDto Book { get; set; } @@ -53,7 +53,7 @@ namespace Acme.BookStore.Web.Pages.Books } ```` -* This class is derived from the `BookStorePageModelBase` instead of standard `PageModel`. `BookStorePageModelBase` inherits the `PageModel` and adds some common properties/methods those can be used by your page model classes. +* This class is derived from the `BookStorePageModel` instead of standard `PageModel`. `BookStorePageModel` inherits the `PageModel` and adds some common properties/methods those can be used by your page model classes. * `[BindProperty]` attribute on the `Book` property binds post request data to this property. * This class simply injects the `IBookAppService` in its constructor and calls the `CreateAsync` method in the `OnPostAsync` handler. @@ -145,7 +145,7 @@ using Microsoft.AspNetCore.Mvc; namespace Acme.BookStore.Web.Pages.Books { - public class EditModalModel : BookStorePageModelBase + public class EditModalModel : BookStorePageModel { [HiddenInput] [BindProperty(SupportsGet = true)]