From 05ccb4d8f1bbe3fb64e117136b4a89bcfb0b0b33 Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 27 Oct 2020 19:21:35 +0800 Subject: Split front and back end. --- Timeline/Models/Http/ActionContextAccessorExtensions.cs | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 Timeline/Models/Http/ActionContextAccessorExtensions.cs (limited to 'Timeline/Models/Http/ActionContextAccessorExtensions.cs') diff --git a/Timeline/Models/Http/ActionContextAccessorExtensions.cs b/Timeline/Models/Http/ActionContextAccessorExtensions.cs deleted file mode 100644 index bcc55c5a..00000000 --- a/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); - } - } -} -- cgit v1.2.3