Esempio n. 1
0
 private async Task UpdateAnalysisStatus(AnalyzeDocumentCommand command, OperationStatus status,
                                         double result = 0.0)
 {
     await _analyzeEventsFacade.SaveDocumentAnalysisStatusChangedEventAsync(command.FileId, command.TaskId,
                                                                            command.UserId, status, result);
 }
Esempio n. 2
0
 private async Task UpdateFileStatus(AddDocumentToAnalysisCommand command, OperationStatus status)
 {
     await _analysisFacade.SaveDocumentAnalysisStatusChangedEventAsync(
         command.FileId, Guid.Empty, command.UserId, status, 0.0,
         command.FileToVerify.FileName);
 }