Example #1
0
        public async Task <IActionResult> OnGetAsync()
        {
            RandomShows = await _show.GetRandomAsync(0, 30);

            ReleasedEpisodes = await _episode.GetReleasedAsync(0, 30);

            UploadEpisodes = await _episode.GetUploadedAsync(0, 30);

            PopularShows = await _show.GetPopularAsync(0, 30);

            FeaturedShow = await _show.GetFeaturedAsync();

            FeaturedTags = await _tag.GetTagsAsync(FeaturedShow);

            return(Page());
        }