Beispiel #1
0
        public async Task <ActionResult> OnGetAsync(string id)
        {
            Movie = await movieLoader.GetMoviePlotAsync(id);

            if (Movie.PlotFull?.PlainText != null && Movie.PlotFull?.PlainText != string.Empty)
            {
                Genre = await genrePredictor.GetGenreAsync(Movie.PlotFull?.PlainText);

                Tags = tagManager.GetProcessedTags(Movie.PlotFull.PlainText);
            }
            return(Page());
        }