Removes the redundant BookRepository.GetByLibraryIdAsync

This commit is contained in:
BinaryAlley committed 2026-11-01 09:28:14 +02:00
1 parent c44aa80fbd
commit 8918b270e6
3 files changed
+13 -39

No files matched your search

@@ -23,14 +23,6 @@ public interface IBookRepository : IRepository<BookEntity>,
IGetAllLiteRepositoryAction<BookEntity, BookLiteRow>,
IDeleteByIdRepositoryAction<Guid>
{
/// <summary>
/// Gets all the books of the media library identified by <paramref name="libraryId"/>.
/// </summary>
/// <param name="libraryId">The Id of the media library whose books are retrieved.</param>
/// <param name="cancellationToken">Cancellation token that can be used to stop the execution.</param>
/// <returns>An <see cref="Result{TValue}"/> containing either a collection of <see cref="BookEntity"/>, or an error.</returns>
Task<Result<IEnumerable<BookEntity>>> GetByLibraryIdAsync(Guid libraryId, CancellationToken cancellationToken);
/// <summary>
/// Gets the book of the media library identified by <paramref name="libraryId"/> that is stored at the provided <paramref name="path"/>.
/// </summary>