Пример #1
0
        public IActionResult FilmView(long id)
        {
            var filmModel = _filmService.GetFilmView(id);

            return(View(new FilmViewModel
            {
                Film = filmModel,
                FilmPerformance = _filmService.GetFilmPerformance(id, GetUserId())
            }));
        }