Esempio n. 1
0
        private static async Task <MethodResponse> ClearCache(MethodRequest methodRequest, object userContext)
        {
            Cache.Clear();

            Console.WriteLine("Cache cleared");

            return(new MethodResponse(200));
        }
Esempio n. 2
0
        private static async Task <MethodResponse> ClearCache(MethodRequest methodRequest, object userContext)
        {
            Cache.Clear();

            Logger.Log("Cache cleared", Logger.LoggingLevel.Info);

            return(new MethodResponse(200));
        }