Esempio n. 1
0
 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));
 }
Esempio n. 2
0
 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)));
 }