Example #1
0
 public async Task <bool> FolderExists(string folderName)
 {
     return(dbSiteFolder.Exists(folderName));
 }
Example #2
0
 public async Task <bool> FolderExists(string folderName, CancellationToken cancellationToken = default(CancellationToken))
 {
     cancellationToken.ThrowIfCancellationRequested();
     return(dbSiteFolder.Exists(folderName));
 }