Implemented the ability to move between volumes (reading) automatically without existing the app. (#198)
This commit is contained in:
parent
2be1630af3
commit
d92e9e7602
2 changed files with 77 additions and 12 deletions
|
@ -1,4 +1,5 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using API.DTOs;
|
||||
using API.Entities;
|
||||
|
@ -89,18 +90,7 @@ namespace API.Controllers
|
|||
return Ok(await _unitOfWork.VolumeRepository.GetChapterDtoAsync(chapterId));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the next logical volume from the series.
|
||||
/// </summary>
|
||||
/// <param name="seriesId"></param>
|
||||
/// <param name="volumeId"></param>
|
||||
/// <returns>chapter id for next manga</returns>
|
||||
[HttpGet("next-volume")]
|
||||
public async Task<ActionResult<int>> GetNextChapter(int seriesId, int volumeId)
|
||||
{
|
||||
|
||||
return Ok();
|
||||
}
|
||||
|
||||
|
||||
|
||||
[HttpPost("update-rating")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue