Is there any replacement for the below code in .NET Core?
filterContext.Result = new RedirectToRouteResult(new System.Web.Routing.RouteValueDictionary
{
{"controller", "Login"},
{"action", "LogoutSession"}
});
Because this code causes an error in ASP.NET Core MVC
The type or namespace name 'Routing' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
