Exemplo n.º 1
0
        public ActionResult filmNew(int? page)
        {
            FilmService phimService = new FilmService();

            List<PhimViewModels> result = phimService.findFilmNew();
            int pageNumber = page ?? 1;
            int pageSize = 5;
            return PartialView(result.ToPagedList(pageNumber, pageSize));
        }