Esempio n. 1
0
        private async Task ClearCacheAsync()
        {
            if (await _interactionService.ClearCacheAsync())
            {
                await _interactionService.ShowMessageAsync("cache emptied successful, the application will close now");

                _interactionService.CloseApplication();
            }
            else
            {
                await _interactionService.ShowMessageAsync("cache could not be emptied :(");
            }
        }