docs: #324 altering some obsolete code to adapt to changes
This commit is contained in:
parent
9f31323c6b
commit
b4090627df
@ -146,7 +146,7 @@ namespace RMuseum.Services.Implementation
|
||||
}
|
||||
context.UpdateRange(pins);
|
||||
|
||||
var similars = await context.GanjoorCachedRelatedPoems.Where(s => s.FullUrl == srcPoem.FullUrl).ToListAsync();
|
||||
var similars = await context.GanjoorCachedRelatedSections.Where(s => s.FullUrl.Contains(srcPoem.FullUrl)).ToListAsync();
|
||||
context.RemoveRange(similars);
|
||||
|
||||
var corrections = await context.GanjoorPoemCorrections.Include(c => c.VerseOrderText).Where(c => c.PoemId == srcPoem.Id).ToListAsync();
|
||||
|
||||
@ -2918,7 +2918,7 @@ namespace RMuseum.Services.Implementation
|
||||
var music = await _context.GanjoorPoemMusicTracks.Where(m => m.PoemId == id).ToListAsync();
|
||||
_context.RemoveRange(music);
|
||||
|
||||
var similars = await _context.GanjoorCachedRelatedPoems.Where(s => s.FullUrl == poem.FullUrl).ToListAsync();
|
||||
var similars = await _context.GanjoorCachedRelatedSections.Where(s => s.FullUrl.Contains(poem.FullUrl)).ToListAsync();
|
||||
_context.RemoveRange(similars);
|
||||
|
||||
var corrections = await _context.GanjoorPoemCorrections.Include(c => c.VerseOrderText).Where(c => c.PoemId == id).ToListAsync();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user