/// <summary> /// Renders the macro with the specified alias, passing in the specified parameters. /// </summary> /// <param name="alias">The alias.</param> /// <param name="parameters">The parameters.</param> /// <returns></returns> public IHtmlString RenderMacro(string alias, IDictionary <string, object> parameters) { return(UmbracoComponentRenderer.RenderMacro(alias, parameters)); }
/// <summary> /// Renders the macro with the specified alias. /// </summary> /// <param name="alias">The alias.</param> /// <returns></returns> public IHtmlString RenderMacro(string alias) { return(UmbracoComponentRenderer.RenderMacro(alias, new { })); }