aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Models/Http/ActionContextAccessorExtensions.cs
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
commit6d30c089c02591ce2f57cf22fe0c41c17c62fbc3 (patch)
treed6555319f0f56cf46d510707bbc7c2fc47346fbf /BackEnd/Timeline/Models/Http/ActionContextAccessorExtensions.cs
parent05132389cd2db33ab3bdeaa2fbfae25fc8db8882 (diff)
downloadtimeline-6d30c089c02591ce2f57cf22fe0c41c17c62fbc3.tar.gz
timeline-6d30c089c02591ce2f57cf22fe0c41c17c62fbc3.tar.bz2
timeline-6d30c089c02591ce2f57cf22fe0c41c17c62fbc3.zip
chore: Remove unused codes.
Diffstat (limited to 'BackEnd/Timeline/Models/Http/ActionContextAccessorExtensions.cs')
-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);
- }
- }
-}