public static string ModularAction(this UrlHelper helper, string actionName, string controllerName, string areaName, string moduleName, IDictionary <string, object> dictionary) { return(helper.Action(actionName, controllerName, AreaHelpers.GetRouteViewDictionary(areaName, moduleName, dictionary))); }
public static string ModularAction(this UrlHelper helper, string actionName, string controllerName, string areaName, object arguments) { return(helper.Action(actionName, controllerName, AreaHelpers.GetRouteViewDictionary(areaName, AreaHelpers.GetModuleName(helper.RequestContext.RouteData), arguments))); }