public object Get(string id)
        {
            RequireEnabled();

            if (!id.Equals(new CentralCertConfigId().Uuid))
            {
                return(NotFound());
            }

            return(CentralCertHelper.ToJsonModel());
        }
        public object Patch(string id, [FromBody] dynamic model)
        {
            RequireEnabled();

            if (!id.Equals(new CentralCertConfigId().Uuid))
            {
                return(NotFound());
            }

            CentralCertHelper.Update(model, _fileProvider);

            return(CentralCertHelper.ToJsonModel());
        }
        public async Task <object> Post([FromBody] dynamic model)
        {
            await CentralCertHelper.Enable(model, _fileProvider);

            return(CentralCertHelper.ToJsonModel());
        }
        public object Get()
        {
            RequireEnabled();

            return(LocationChanged(CentralCertHelper.GetLocation(), CentralCertHelper.ToJsonModel()));
        }