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); }
public virtual async Task DeleteFileAsync(FileDeleteDto input) { await FileSystemAppService.DeleteFileAsync(input); }