1
Rufe ich RedirectToRoute
richtig an?Rufe ich RedirectToRoute korrekt auf?
RouteConfig.cs:
routes.MapRoute(
name: "Contact Us",
url: "ContactUs",
defaults: new {controller = "Home", action = "ContactUs"}
);
Handler.cs
HttpContext.Current.Response.RedirectToRoute("Contact Us",
new { controller = "Home", action = "ContactUs" });