public object Get(GetBrandingCss request) { var result = ServerConfigurationManager.GetConfiguration <BrandingOptions>("branding"); // When null this throws a 405 error under Mono OSX, so default to empty string return(ResultFactory.GetResult(Request, result.CustomCss ?? string.Empty, "text/css")); }
public object Get(GetBrandingOptions request) { return(ServerConfigurationManager.GetConfiguration <BrandingOptions>("branding")); }