Enhancement: add if-series conditional logic to custom file naming. Issue #151

This commit is contained in:
Robert McRackan 2021-11-11 16:43:44 -05:00
parent e67eac92fd
commit 2567ccb44c
11 changed files with 100 additions and 70 deletions

View file

@ -167,8 +167,8 @@ namespace ApplicationServices
{
logTime("importIntoDbAsync -- pre db");
using var context = DbContexts.GetContext();
var libraryImporter = new LibraryBookImporter(context);
var newCount = await Task.Run(() => libraryImporter.Import(importItems));
var libraryBookImporter = new LibraryBookImporter(context);
var newCount = await Task.Run(() => libraryBookImporter.Import(importItems));
logTime("importIntoDbAsync -- post Import()");
var qtyChanges = context.SaveChanges();
logTime("importIntoDbAsync -- post SaveChanges");