This website works better with JavaScript.
Home
Explore
Help
Sign In
ayan.poddar
/
eShopOnContainers
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
19
Wiki
Activity
Browse Source
Added a privacy controller and view for GDPR Cookie compliance
pull/733/head
rafsanulhasan
6 years ago
parent
69e91a5ba7
commit
07a8f8fad8
2 changed files
with
19 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+13
-0
src/Web/WebMVC/Controllers/HomeController.cs
+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>
Write
Preview
Loading…
Cancel
Save