Beispiel #1
0
        public ActionResult Index(int pageNum = 1)
        {
            PagedList <Photo> page = repository.GetPageOfPhotos(pageNum, PageSize);

            return(View(page));
        }