public async Task DeleteFolder(FolderModel folder, CancellationToken cancellationToken)
        {
            if (folder.HasContent)
            {
                windowService.ShowMessageBox("You can not delete non-empty folder", "Warning", ShowMessageBoxButton.Ok, ShowMessageBoxIcon.Exclamation);
                return;
            }

            if (windowService.ShowMessageBox($"Do you really want to delete the folder '{folder.Name}'?", "Delete folder",
                                             ShowMessageBoxButton.YesNo, ShowMessageBoxIcon.Question) != ShowMessageBoxResult.Yes)
            {
                return;
            }

            await foldersService.DeleteEmptyFolder(folder, cancellationToken);

            await ItemListViewModel.OnFolderDeleted(folder.Id);
        }