Exemplo n.º 1
0
 public static MvcHtmlString Module(this HtmlHelper htmlHelper, ModuleInfo info, object htmlAttributes)
 {
     var attributes = HtmlHelper.AnonymousObjectToHtmlAttributes(htmlAttributes);
     return Module(htmlHelper, info.ModuleName, info.Controller, info.StartView, attributes);
 }
Exemplo n.º 2
0
 public static MvcHtmlString Module(this HtmlHelper htmlHelper, ModuleInfo info)
 {
     return Module(htmlHelper, info.ModuleName, info.Controller, info.StartView, null);
 }