示例#1
0
        public IActionResult Detail(int id)
        {
            FilmUserVM vm = new FilmUserVM();

            vm.Film = filmDAO.GetFilmByID(id);
            vm.User = authProvider.GetCurrentUser();
            return(View(vm));
        }
示例#2
0
        public IActionResult EditFilm(int id)
        {
            Film film = filmDAO.GetFilmByID(id);

            return(View(film));
        }