Beispiel #1
0
        private void removeImage(string subFolder, int folderId, string fileName)
        {
            var folderPath = String.Format("{0}{1}\\{2}\\", root, subFolder, folderId);
            var fullPath   = String.Format("{0}{1}", folderPath, fileName);

            // delete the file
            _persistenceHelper.RemoveFileIfItExists(fullPath);
        }