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)); }
public ActionResult Activity() { var cache = _recentService.GetAllRecentActivitys().Take(10); return(View(cache)); }