public static void RenderPartialRequest(this HtmlHelper html, PartialRequest partial) { if (partial != null) { partial.Invoke(html.ViewContext); } }
public static void RenderPartialRequest(this HtmlHelper html, object routeValues) { PartialRequest partial = new PartialRequest(routeValues); if (partial != null) { partial.Invoke(html.ViewContext); } }