disabling removing old jobs
This commit is contained in:
parent
c16901a3f4
commit
db608a4d82
@ -64,10 +64,11 @@ namespace RMuseum.Services.Implementation
|
||||
|
||||
private async Task ImportSohaLibraryUrlAsync(string srcUrl, RMuseumDbContext context)
|
||||
{
|
||||
|
||||
/*
|
||||
var oldJobs = await context.ImportJobs.ToArrayAsync();
|
||||
context.RemoveRange(oldJobs);
|
||||
await context.SaveChangesAsync();
|
||||
*/
|
||||
|
||||
ImportJob job = new ImportJob()
|
||||
{
|
||||
|
||||
@ -63,10 +63,11 @@ namespace RMuseum.Services.Implementation
|
||||
}
|
||||
private async Task ImportELiteratureBookLibraryUrlAsync(string srcUrl, RMuseumDbContext context)
|
||||
{
|
||||
|
||||
/*
|
||||
var oldJobs = await context.ImportJobs.ToArrayAsync();
|
||||
context.RemoveRange(oldJobs);
|
||||
await context.SaveChangesAsync();
|
||||
*/
|
||||
|
||||
ImportJob job = new ImportJob()
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user