Browse Source

Added a privacy controller and view for GDPR Cookie compliance

pull/733/head
rafsanulhasan 6 years ago
parent
commit
07a8f8fad8
2 changed files with 19 additions and 0 deletions
  1. +13
    -0
      src/Web/WebMVC/Controllers/HomeController.cs
  2. +6
    -0
      src/Web/WebMVC/Views/Home/Privacy.cshtml

+ 13
- 0
src/Web/WebMVC/Controllers/HomeController.cs View File

@ -0,0 +1,13 @@
using Microsoft.AspNetCore.Mvc;
namespace WebMVC.Controllers
{
public class HomeController : Controller
{
public IActionResult Privacy()
{
return View();
}
}
}

+ 6
- 0
src/Web/WebMVC/Views/Home/Privacy.cshtml View File

@ -0,0 +1,6 @@
@{
ViewData["Title"] = "Privacy Policy";
}
<h2>@ViewData["Title"]</h2>
<p>Use this page to detail your site's privacy policy.</p>

Loading…
Cancel
Save