Added count of items removed from library.

This commit is contained in:
Michael Bucari-Tovo 2021-07-02 15:01:55 -06:00
parent 00f7e4b779
commit 771d992da7
4 changed files with 14 additions and 10 deletions

View file

@ -11,6 +11,7 @@ namespace LibationWinForms.Dialogs
private Account[] _accounts { get; }
public int NewBooksAdded { get; private set; }
public int OldBooksRemoved { get; private set; }
public int TotalBooksProcessed { get; private set; }
public IndexLibraryDialog(params Account[] accounts)
@ -31,7 +32,7 @@ namespace LibationWinForms.Dialogs
try
{
(TotalBooksProcessed, NewBooksAdded) = await LibraryCommands.ImportAccountAsync((account) => new WinformResponder(account), _accounts);
(TotalBooksProcessed, NewBooksAdded, OldBooksRemoved) = await LibraryCommands.ImportAccountAsync((account) => new WinformResponder(account), _accounts);
}
catch (Exception ex)
{