2024-05-05 02:18:20 +01:00
|
|
|
using OliverBooth.Common.Data.Web;
|
2023-12-14 16:31:55 +00:00
|
|
|
|
2024-05-05 02:18:20 +01:00
|
|
|
namespace OliverBooth.Common.Services;
|
2023-12-14 16:31:55 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Represents a service which fetches books from the reading list.
|
|
|
|
/// </summary>
|
|
|
|
public interface IReadingListService
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Gets the books in the reading list with the specified state.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="state">The state.</param>
|
|
|
|
/// <returns>A collection of books in the specified state.</returns>
|
|
|
|
IReadOnlyCollection<IBook> GetBooks(BookState state);
|
|
|
|
}
|