public static void RenderAction(this HtmlHelper htmlHelper, string actionName, string controllerName = null, object routeValues = null) { ChildActionExtensions.RenderAction( htmlHelper, actionName, controllerName, routeValues as IDictionary <string, object> ?? new RouteValueDictionary(routeValues)); }
public static MvcHtmlString Action(this HtmlHelper htmlHelper, string actionName, string controllerName = null, object routeValues = null) { return(ChildActionExtensions.Action( htmlHelper, actionName, controllerName, routeValues as IDictionary <string, object> ?? new RouteValueDictionary(routeValues))); }