public HttpResponseMessage Get()
        {
            var config = this.config.GlobalConfiguration;
            var vm = new GlobalViewModel
            {
                Name = config.AuthorizationServerName,
                Logo = config.AuthorizationServerLogoUrl,
                Issuer = config.Issuer
            };

            return Request.CreateResponse(HttpStatusCode.OK, vm);
        }
        public HttpResponseMessage Put(GlobalViewModel model)
        {
            if (!ModelState.IsValid)
            {
                return Request.CreateResponse(HttpStatusCode.BadRequest, ModelState.GetErrors());
            }
            
            var config = this.config.GlobalConfiguration;
            this.config.GlobalConfiguration.AuthorizationServerName = model.Name;
            this.config.GlobalConfiguration.AuthorizationServerLogoUrl = model.Logo;
            this.config.GlobalConfiguration.Issuer = model.Issuer;
            this.config.SaveChanges();

            return Request.CreateResponse(HttpStatusCode.NoContent);
        }