This commit is contained in:
Robert McRackan 2021-08-26 16:08:26 -04:00
parent 9a4903f0dd
commit 8969c216af
3 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,6 @@
<ItemGroup>
<ProjectReference Include="..\DtoImporterService\DtoImporterService.csproj" />
<ProjectReference Include="..\InternalUtilities\InternalUtilities.csproj" />
<ProjectReference Include="..\LibationSearchEngine\LibationSearchEngine.csproj" />
</ItemGroup>

View file

@ -178,8 +178,6 @@ namespace ApplicationServices
}
#endregion
// below are queries, not commands. maybe I should make a LibraryQueries. except there's already one of those...
public static LiberatedStatus Liberated_Status(Book book)
=> book.Audio_Exists ? LiberatedStatus.Liberated
: FileManager.AudibleFileStorage.AaxcExists(book.AudibleProductId) ? LiberatedStatus.PartialDownload
@ -190,6 +188,8 @@ namespace ApplicationServices
: book.PDF_Exists ? LiberatedStatus.Liberated
: LiberatedStatus.NotLiberated;
// below are queries, not commands. maybe I should make a LibraryQueries. except there's already one of those...
public record LibraryStats(int booksFullyBackedUp, int booksDownloadedOnly, int booksNoProgress, int pdfsDownloaded, int pdfsNotDownloaded) { }
public static LibraryStats GetCounts()
{