Complete campaign flow

This commit is contained in:
2025-10-28 15:03:54 +09:00
parent 9e526c54fa
commit fa485918cc
7 changed files with 132 additions and 40 deletions

View File

@ -37,12 +37,12 @@ namespace Hcs.WebApp.BackgroundServices
try
{
var executor = executorFactory.CreateExecutor(scope, client, operation);
await headquartersService.SetOperationStarted(operation.Id);
await headquartersService.SetOperationStartedAsync(operation.Id);
messageGuid = await executor.ExecuteAsync(stoppingToken);
}
catch (Exception e)
{
await headquartersService.SetOperationEndedWithFail(operation.Id, e.Message);
await headquartersService.SetOperationEndedWithFailAsync(operation.Id, e.Message);
}
if (!string.IsNullOrEmpty(messageGuid))