예제 #1
0
        private void CleanupCategoryImages()
        {
            var activeCategoryImagesQuery = _categoryLogic.GetActiveCategoryImages();

            if (activeCategoryImagesQuery.Success)
            {
                new FileManager().ProcessAndDeleteFilesInDirectoriesUnderRoot("CategoryImages", activeCategoryImagesQuery.Data.Select(i => i.Uri).ToList());
            }
        }