using System.Collections.Generic; using System.Threading.Tasks; using API.DTOs; using API.DTOs.Reader; using API.Entities; namespace API.Interfaces.Repositories { public interface IChapterRepository { void Update(Chapter chapter); Task> GetChaptersByIdsAsync(IList chapterIds); Task GetChapterInfoDtoAsync(int chapterId); Task GetChapterTotalPagesAsync(int chapterId); Task GetChapterAsync(int chapterId); Task GetChapterDtoAsync(int chapterId); Task> GetFilesForChapterAsync(int chapterId); Task> GetChaptersAsync(int volumeId); Task> GetFilesForChaptersAsync(IReadOnlyList chapterIds); Task GetChapterCoverImageAsync(int chapterId); Task> GetAllCoverImagesAsync(); Task> GetCoverImagesForLockedChaptersAsync(); } }