aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Pages/Error.cshtml.cs
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-05-06 14:22:10 +0800
committerGitHub <noreply@github.com>2019-05-06 14:22:10 +0800
commitea84a067eee6dcd10dd0bc89967ef608677ef37e (patch)
tree37c2b6f9dcb3d6f57867ebc7538523d1a338183d /Timeline/Pages/Error.cshtml.cs
parentae848e311b46a25ec1ed571432d55e800ac7595b (diff)
parent070a4a8399201150a633c80608a13cc44781a3c4 (diff)
downloadtimeline-ea84a067eee6dcd10dd0bc89967ef608677ef37e.tar.gz
timeline-ea84a067eee6dcd10dd0bc89967ef608677ef37e.tar.bz2
timeline-ea84a067eee6dcd10dd0bc89967ef608677ef37e.zip
Merge pull request #22 from crupest/user-admin
Develop user management feature.
Diffstat (limited to 'Timeline/Pages/Error.cshtml.cs')
-rw-r--r--Timeline/Pages/Error.cshtml.cs23
1 files changed, 0 insertions, 23 deletions
diff --git a/Timeline/Pages/Error.cshtml.cs b/Timeline/Pages/Error.cshtml.cs
deleted file mode 100644
index 2c11a93b..00000000
--- a/Timeline/Pages/Error.cshtml.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Diagnostics;
-using System.Linq;
-using System.Threading.Tasks;
-using Microsoft.AspNetCore.Mvc;
-using Microsoft.AspNetCore.Mvc.RazorPages;
-
-namespace Timeline.Pages
-{
- [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
- public class ErrorModel : PageModel
- {
- public string RequestId { get; set; }
-
- public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
-
- public void OnGet()
- {
- RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier;
- }
- }
-}