Guest User

Untitled

a guest
Jan 18th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. public void GetConfigurationRoute(out string actionName, out string controllerName, out RouteValueDictionary routeValues)
  2. {
  3. actionName = "Configure";
  4. controllerName = "SomePlugin";
  5. routeValues = new RouteValueDictionary { { "Namespaces", "Nop.Plugin.Payments.SomePlugin.Controllers" }, { "area", null } };
  6. }
  7.  
  8. public ActionResult RedirectToPlugin()
  9. {
  10. return RedirectToAction("ConfigureMethod", "Payment", new { area = "Admin", systemName = "Payments.SomePlugin" });
  11. }
Add Comment
Please, Sign In to add comment