disabling removing old jobs

This commit is contained in:
Hamid Reza Mohammadi 2023-08-28 15:15:28 +03:30
parent c16901a3f4
commit db608a4d82
2 changed files with 4 additions and 2 deletions

View File

@ -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()
{

View File

@ -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()
{