public ActionResult Applies(int?page) { var applies = siteService.GetApplies(User.Identity.Name).ToList(); var model = new Paginated <Apply>(applies, page ?? 1, 10); return(View(model)); }
public ActionResult People(int id, int?page) { var peoples = siteService.GetApplies(id).ToList(); var model = new Paginated <Apply>(peoples, page ?? 1, 20); ViewBag.Account = (page ?? 1) * 20 - 19; return(View(model)); }
// // GET: /Admin/Apply/ public ActionResult Applies(int id) { var applies = siteService.GetApplies(id).ToList(); return(View(applies)); }