public async Task <IActionResult> DeleteShowFromHistory(string id) { var show = await _omdbApi.GetById(id); if (show.Type == ShowType.Episode) { return(DeleteEpisode(id)); } _watchlistService.DeleteShow(CurrentUserId, id); return(Ok(_watchlistService.GetStatusForShow(CurrentUserId, id))); }