public IActionResult Detail(int id) { FilmUserVM vm = new FilmUserVM(); vm.Film = filmDAO.GetFilmByID(id); vm.User = authProvider.GetCurrentUser(); return(View(vm)); }
public IActionResult EditFilm(int id) { Film film = filmDAO.GetFilmByID(id); return(View(film)); }