Exemplo n.º 1
0
        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"));
        }
Exemplo n.º 2
0
 public object Get(GetBrandingOptions request)
 {
     return(ServerConfigurationManager.GetConfiguration <BrandingOptions>("branding"));
 }