Add supply contract export results
This commit is contained in:
@ -196,6 +196,17 @@ namespace Hcs.WebApp.Services
|
||||
}
|
||||
}
|
||||
|
||||
public async Task SetOperationExportGuidAsync(HcsDbContext context, int operationId, string exportGuid)
|
||||
{
|
||||
var operation = await context.Operations.FirstOrDefaultAsync(x => x.Id == operationId);
|
||||
if (operation != null)
|
||||
{
|
||||
operation.ExportGuid = exportGuid;
|
||||
|
||||
await context.SaveChangesAsync();
|
||||
}
|
||||
}
|
||||
|
||||
public async Task UpdateCampaignStepAndProgressAsync(Campaign campaign)
|
||||
{
|
||||
using var context = GetNewContext();
|
||||
|
||||
Reference in New Issue
Block a user