Added a privacy controller and view for GDPR Cookie compliance

This commit is contained in:
rafsanulhasan 2018-09-01 02:02:25 +06:00
parent 69e91a5ba7
commit 07a8f8fad8
2 changed files with 19 additions and 0 deletions

View File

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

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>