Implemented the ability to extract an archive image to a cache directory.
This commit is contained in:
parent
14ad2a3dd5
commit
7ab7e8acc4
8 changed files with 127 additions and 8 deletions
|
@ -76,5 +76,12 @@ namespace API.Data
|
|||
return await _context.Series.Where(x => x.Id == seriesId)
|
||||
.ProjectTo<SeriesDto>(_mapper.ConfigurationProvider).SingleAsync();
|
||||
}
|
||||
|
||||
public async Task<Volume> GetVolumeAsync(int volumeId)
|
||||
{
|
||||
return await _context.Volume
|
||||
.Include(vol => vol.Files)
|
||||
.SingleOrDefaultAsync(vol => vol.Id == volumeId);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue