From 1bdae799ad607a06027f61c5194e7729081418cf Mon Sep 17 00:00:00 2001 From: crupest Date: Wed, 24 Apr 2019 20:52:01 +0800 Subject: Remove unused razor page. --- Timeline/Pages/Error.cshtml.cs | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 Timeline/Pages/Error.cshtml.cs (limited to 'Timeline/Pages/Error.cshtml.cs') 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; - } - } -} -- cgit v1.2.3