daily pastebin goal
61%
SHARE
TWEET

Untitled

a guest Jan 18th, 2018 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
Top