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
commit79dc38059819cf6dbcb8533b031f9a0dba8f6cb1 (patch)
tree37c2b6f9dcb3d6f57867ebc7538523d1a338183d /Timeline/Pages/Error.cshtml.cs
parent1cb92b8f2a98005b793c00e0191903c0792d540a (diff)
parenta04bcb5971872e7dbc079de9337875e73f7642dc (diff)
downloadtimeline-79dc38059819cf6dbcb8533b031f9a0dba8f6cb1.tar.gz
timeline-79dc38059819cf6dbcb8533b031f9a0dba8f6cb1.tar.bz2
timeline-79dc38059819cf6dbcb8533b031f9a0dba8f6cb1.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;
- }
- }
-}