예제 #1
0
        public async Task <IActionResult> GetStatusForShow(string id)
        {
            var show = await _omdbApi.GetById(id);

            if (show.Type == ShowType.Episode)
            {
                return(Ok(_watchlistService.GetStatusForEpisode(CurrentUserId, id)));
            }

            return(Ok(_watchlistService.GetStatusForShow(CurrentUserId, id)));
        }