aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Models/Http
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-01-07 22:19:05 +0800
committercrupest <crupest@outlook.com>2021-01-07 22:19:05 +0800
commit777efa6e0405f4e871de4da21b939e30ed07f754 (patch)
tree899de22e70967572faf2e29fa08bdee9cda29790 /BackEnd/Timeline/Models/Http
parent34b2304997bfac1e186dad660ec62d8d87fec75f (diff)
downloadtimeline-777efa6e0405f4e871de4da21b939e30ed07f754.tar.gz
timeline-777efa6e0405f4e871de4da21b939e30ed07f754.tar.bz2
timeline-777efa6e0405f4e871de4da21b939e30ed07f754.zip
chore: Remove unused codes.
Diffstat (limited to 'BackEnd/Timeline/Models/Http')
-rw-r--r--BackEnd/Timeline/Models/Http/ActionContextAccessorExtensions.cs14
1 files changed, 0 insertions, 14 deletions
diff --git a/BackEnd/Timeline/Models/Http/ActionContextAccessorExtensions.cs b/BackEnd/Timeline/Models/Http/ActionContextAccessorExtensions.cs
deleted file mode 100644
index bcc55c5a..00000000
--- a/BackEnd/Timeline/Models/Http/ActionContextAccessorExtensions.cs
+++ /dev/null
@@ -1,14 +0,0 @@
-using Microsoft.AspNetCore.Mvc;
-using Microsoft.AspNetCore.Mvc.Infrastructure;
-using System;
-
-namespace Timeline.Models.Http
-{
- public static class ActionContextAccessorExtensions
- {
- public static ActionContext AssertActionContextForUrlFill(this IActionContextAccessor accessor)
- {
- return accessor.ActionContext ?? throw new InvalidOperationException(Resources.Models.Http.Exception.ActionContextNull);
- }
- }
-}