Esempio n. 1
0
        public virtual Task DeleteFileAsync(FileDeleteDto input)
        {
            var fileSystemPath = GetFileSystemPath(input.Path);

            fileSystemPath = Path.Combine(fileSystemPath, input.Name);
            if (File.Exists(fileSystemPath))
            {
                File.Delete(fileSystemPath);
            }
            return(Task.CompletedTask);
        }
Esempio n. 2
0
 public virtual async Task DeleteFileAsync(FileDeleteDto input)
 {
     await FileSystemAppService.DeleteFileAsync(input);
 }