public static HtmlString GetShortNameAsUrl(this Organization organization) { return(organization != null?UrlTemplate.MakeHrefString(organization.GetDetailUrl(), organization.OrganizationShortName ?? organization.OrganizationName) : new HtmlString(null)); }
public static HtmlString GetDisplayNameAsUrl(this Organization organization) { return(organization != null?UrlTemplate.MakeHrefString(organization.GetDetailUrl(), organization.GetDisplayName()) : new HtmlString(null)); }