Esempio n. 1
0
        public string ClearCache()
        {
            RestEndpoint <string> systemEndpoint = new RestEndpoint <string>(_endpointConfiguration.EndpointApiUri + "/" + _endpointConfiguration.Controller, "ClearCache");

            systemEndpoint.ApiKey = _endpointConfiguration.ApiKey;
            string result = systemEndpoint.Get <string>();

            return(result);
        }
Esempio n. 2
0
        public object ClearCatalogAndModels()
        {
            RestEndpoint <string> systemEndpoint = new RestEndpoint <string>(_endpointConfiguration.EndpointApiUri + "/" + _endpointConfiguration.Controller, "ClearCatalogAndModels");

            systemEndpoint.ApiKey = _endpointConfiguration.ApiKey;
            object result = (JObject)systemEndpoint.Get <object>();

            return(result);
        }