private static async Task <MethodResponse> ClearCache(MethodRequest methodRequest, object userContext) { Cache.Clear(); Console.WriteLine("Cache cleared"); return(new MethodResponse(200)); }
private static async Task <MethodResponse> ClearCache(MethodRequest methodRequest, object userContext) { Cache.Clear(); Logger.Log("Cache cleared", Logger.LoggingLevel.Info); return(new MethodResponse(200)); }