Fulfill export executor
This commit is contained in:
@ -14,5 +14,11 @@ namespace Hcs.WebApp.Services
|
||||
where registry.IsCommon == isCommon
|
||||
select registry).ToListAsync();
|
||||
}
|
||||
|
||||
public async Task<Registry> GetRegistryByOperationId(int operationId)
|
||||
{
|
||||
using var context = factory.CreateDbContext();
|
||||
return await context.Registries.SingleAsync(x => x.LastSyncOperationId == operationId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user