Adding the /show/studio

This commit is contained in:
Zoe Roux
2020-07-25 04:49:48 +02:00
parent fb2d5b24bd
commit 1f53affafa
6 changed files with 71 additions and 3 deletions
@@ -286,7 +286,17 @@ namespace Kyoo.Controllers
{
return GenreRepository.GetFromShow(showSlug, where, sort, limit);
}
public Task<Studio> GetStudioFromShow(int showID)
{
return StudioRepository.GetFromShow(showID);
}
public Task<Studio> GetStudioFromShow(string showSlug)
{
return StudioRepository.GetFromShow(showSlug);
}
public Task AddShowLink(int showID, int? libraryID, int? collectionID)
{
return ShowRepository.AddShowLink(showID, libraryID, collectionID);