fix import

This commit is contained in:
nek0 2020-04-28 15:22:27 +02:00
parent 75dcaa4cf0
commit 1732c9673b
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ namespace Bücherwurm
Ibook.OverwriteNullId(NextId);
NextId += 1;
}
Products = new List<IProduct>(IntermediateBooks);
Products.AddRange(new List<IProduct>(IntermediateBooks));
}public void ImportMagazines(string JsonString)
{
@ -35,7 +35,7 @@ namespace Bücherwurm
Ibook.OverwriteNullId(NextId);
NextId += 1;
}
Products = new List<IProduct>(IntermediateBooks);
Products.AddRange(new List<IProduct>(IntermediateBooks));
}
public void AddBook(string Title, string Author,