Exemple #1
0
        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));
        }
Exemple #2
0
        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));
        }
Exemple #3
0
        //
        // GET: /Admin/Apply/

        public ActionResult Applies(int id)
        {
            var applies = siteService.GetApplies(id).ToList();

            return(View(applies));
        }