public ActionResult UpdateForm(JOB_APPLICATION apply) { JobApplicationService jobApplicationService = new JobApplicationService(); if (jobApplicationService.update(apply)) { return(RedirectToAction("Index", "Home")); } else { return(View("Apply", "Apply", new { id = apply.POST_ID })); } }