Rough version of Saving Series, Volumes, and MangaFiles to the DB. Relies on Cascaded delete rather than manually handling updating of file changes.

This commit is contained in:
Joseph Milazzo 2020-12-30 11:30:12 -06:00
parent 104c63b2b9
commit 380c3e7b3c
16 changed files with 949 additions and 15 deletions

View file

@ -16,7 +16,9 @@ namespace API.Interfaces
/// <param name="libraryName"></param>
/// <returns></returns>
Task<bool> LibraryExists(string libraryName);
public Task<LibraryDto> GetLibraryForIdAsync(int libraryId);
Task<LibraryDto> GetLibraryDtoForIdAsync(int libraryId);
Task<Library> GetLibraryForIdAsync(int libraryId);
bool SaveAll();
Library GetLibraryForName(string libraryName);
}
}