mirror of
				https://github.com/Kareadita/Kavita.git
				synced 2025-10-31 02:27:04 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			523 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			523 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System.Collections.Generic;
 | |
| using System.Threading.Tasks;
 | |
| using API.DTOs;
 | |
| using API.Entities;
 | |
| 
 | |
| namespace API.Interfaces
 | |
| {
 | |
|     public interface IVolumeRepository
 | |
|     {
 | |
|         void Update(Volume volume);
 | |
|         Task<Chapter> GetChapterAsync(int chapterId);
 | |
|         Task<ChapterDto> GetChapterDtoAsync(int chapterId);
 | |
|         Task<IList<MangaFile>> GetFilesForChapter(int chapterId);
 | |
|         Task<IList<Chapter>> GetChaptersAsync(int volumeId);
 | |
|         Task<byte[]> GetChapterCoverImageAsync(int chapterId);
 | |
|     }
 | |
| } |