From 06fd256ec8067c05d4dafe56689863c97fcbd1e9 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Sun, 20 Aug 2023 13:30:11 +0100 Subject: [PATCH] refactor: remove redundant models for privacy policy pages --- OliverBooth/Pages/Privacy/GooglePlay.cshtml | 1 - OliverBooth/Pages/Privacy/GooglePlay.cshtml.cs | 7 ------- OliverBooth/Pages/Privacy/Index.cshtml | 1 - OliverBooth/Pages/Privacy/Index.cshtml.cs | 7 ------- 4 files changed, 16 deletions(-) delete mode 100644 OliverBooth/Pages/Privacy/GooglePlay.cshtml.cs delete mode 100644 OliverBooth/Pages/Privacy/Index.cshtml.cs diff --git a/OliverBooth/Pages/Privacy/GooglePlay.cshtml b/OliverBooth/Pages/Privacy/GooglePlay.cshtml index 6098355..0b1b6fc 100644 --- a/OliverBooth/Pages/Privacy/GooglePlay.cshtml +++ b/OliverBooth/Pages/Privacy/GooglePlay.cshtml @@ -1,5 +1,4 @@ @page "/privacy/google-play" -@model OliverBooth.Pages.Privacy.GooglePlay @{ ViewData["Title"] = "Google Play Privacy Policy"; } diff --git a/OliverBooth/Pages/Privacy/GooglePlay.cshtml.cs b/OliverBooth/Pages/Privacy/GooglePlay.cshtml.cs deleted file mode 100644 index e996002..0000000 --- a/OliverBooth/Pages/Privacy/GooglePlay.cshtml.cs +++ /dev/null @@ -1,7 +0,0 @@ -using Microsoft.AspNetCore.Mvc.RazorPages; - -namespace OliverBooth.Pages.Privacy; - -public class GooglePlay : PageModel -{ -} diff --git a/OliverBooth/Pages/Privacy/Index.cshtml b/OliverBooth/Pages/Privacy/Index.cshtml index a68e460..6a0ba33 100644 --- a/OliverBooth/Pages/Privacy/Index.cshtml +++ b/OliverBooth/Pages/Privacy/Index.cshtml @@ -1,5 +1,4 @@ @page -@model OliverBooth.Pages.Privacy.Index @{ ViewData["Title"] = "Privacy Policy"; } diff --git a/OliverBooth/Pages/Privacy/Index.cshtml.cs b/OliverBooth/Pages/Privacy/Index.cshtml.cs deleted file mode 100644 index fc3e1a5..0000000 --- a/OliverBooth/Pages/Privacy/Index.cshtml.cs +++ /dev/null @@ -1,7 +0,0 @@ -using Microsoft.AspNetCore.Mvc.RazorPages; - -namespace OliverBooth.Pages.Privacy; - -public class Index : PageModel -{ -}