From 84b56092928ac8dbf08eecdff4c93d427ff58ce5 Mon Sep 17 00:00:00 2001 From: Chris Ayers Date: Fri, 10 Nov 2023 22:10:37 +0000 Subject: [PATCH] Refactor namespaces and update page titles --- 14-validation/Pages/Error.cshtml.cs | 2 +- 14-validation/Pages/Index.cshtml.cs | 2 +- 14-validation/Pages/Privacy.cshtml.cs | 2 +- 14-validation/Pages/Shared/_Layout.cshtml | 8 ++++---- 14-validation/Pages/_ViewImports.cshtml | 4 ++-- 14-validation/Properties/launchSettings.json | 2 +- 14-validation/Validation.csproj | 2 +- 14-validation/WebHookSettings.cs | 5 ++++- 15-postconfig-validation/Pages/Error.cshtml.cs | 2 +- 15-postconfig-validation/Pages/Index.cshtml.cs | 2 +- 15-postconfig-validation/Pages/Privacy.cshtml.cs | 2 +- 15-postconfig-validation/Pages/Shared/_Layout.cshtml | 8 ++++---- 15-postconfig-validation/Pages/_ViewImports.cshtml | 4 ++-- 15-postconfig-validation/Properties/launchSettings.json | 2 +- 15-postconfig-validation/Validation.csproj | 2 +- 15 files changed, 26 insertions(+), 23 deletions(-) diff --git a/14-validation/Pages/Error.cshtml.cs b/14-validation/Pages/Error.cshtml.cs index 3c4d98c..4fa4447 100644 --- a/14-validation/Pages/Error.cshtml.cs +++ b/14-validation/Pages/Error.cshtml.cs @@ -2,7 +2,7 @@ using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; -namespace _16_validation.Pages; +namespace Validation.Pages; [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] [IgnoreAntiforgeryToken] diff --git a/14-validation/Pages/Index.cshtml.cs b/14-validation/Pages/Index.cshtml.cs index 4e8a8cc..6c24cf9 100644 --- a/14-validation/Pages/Index.cshtml.cs +++ b/14-validation/Pages/Index.cshtml.cs @@ -1,7 +1,7 @@ using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; -namespace _16_validation.Pages; +namespace Validation.Pages; public class IndexModel : PageModel { diff --git a/14-validation/Pages/Privacy.cshtml.cs b/14-validation/Pages/Privacy.cshtml.cs index 19cce5f..32f62a5 100644 --- a/14-validation/Pages/Privacy.cshtml.cs +++ b/14-validation/Pages/Privacy.cshtml.cs @@ -1,7 +1,7 @@ using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; -namespace _16_validation.Pages; +namespace Validation.Pages; public class PrivacyModel : PageModel { diff --git a/14-validation/Pages/Shared/_Layout.cshtml b/14-validation/Pages/Shared/_Layout.cshtml index 11d4adf..e873001 100644 --- a/14-validation/Pages/Shared/_Layout.cshtml +++ b/14-validation/Pages/Shared/_Layout.cshtml @@ -3,16 +3,16 @@ - @ViewData["Title"] - _16_validation + @ViewData["Title"] - Validation - +