예제 #1
0
        public ActionResult EditForm(int id)
        {
            Application application = new Application();
            ApplicantDatabase ad = new ApplicantDatabase();

            application = ad.GetById(id);

            return View(application);
        }
예제 #2
0
        public ActionResult ViewDetails(int id)
        {
            var repo = new ApplicantDatabase();
            var applicant = repo.GetById(id);

            return View(applicant);
        }
예제 #3
0
        public JsonResult ViewDetailsJH(string id)
        {
            var repo = new ApplicantDatabase();
            var applicant = repo.GetById(int.Parse(id));

            return Json(applicant, JsonRequestBehavior.AllowGet);
        }