public ActionResult Index(int id = 1)
        {
            int       count;
            const int pageSize = 8;
            var       result   = _recentService.GetAllRecentActivitys();
            var       model    = result.ToPagedList(id, pageSize);

            return(View(model));
        }
Пример #2
0
        public ActionResult Activity()
        {
            var cache = _recentService.GetAllRecentActivitys().Take(10);

            return(View(cache));
        }