Example #1
0
 private async Task RemoveFileImportEntryIfOrphaned(DeleteDataFilePlan deletePlan)
 {
     if (await _subjectService.Get(deletePlan.SubjectId) == null)
     {
         await _coreTableStorageService.DeleteEntityAsync(DatafileImportsTableName, deletePlan.TableStorageItem);
     }
 }
 public async Task RemoveImportTableRowIfExists(Guid releaseId, string dataFileName)
 {
     await _tableStorageService.DeleteEntityAsync(DatafileImportsTableName,
                                                  new DatafileImport(releaseId.ToString(), dataFileName));
 }