Exemplo n.º 1
0
        public ActionResult ViewRefused()
        {
            Repository      db = new Repository(Properties.Settings.Default.ConStr);
            ViewCandidateVM vm = new ViewCandidateVM();

            vm.candidate = db.getAllCandidate("Refused");
            vm.type      = "Refused";
            return(View("ViewConfirmed", vm));
        }
Exemplo n.º 2
0
        public ActionResult ViewPending()
        {
            Repository      db = new Repository(Properties.Settings.Default.ConStr);
            ViewCandidateVM vm = new ViewCandidateVM();

            vm.candidate = db.getAllCandidate("Pending");
            vm.type      = "Pending";
            return(View(vm));
        }