コード例 #1
0
        public ActionResult ApplyForm(String PERSONAL_ID, String PHONE, int postId)
        {
            ViewBag.POST_ID     = postId;
            ViewBag.PHONE       = PHONE;
            ViewBag.PERSONAL_ID = PERSONAL_ID;
            JOB_APPLICATION application = JobApplicationService.findByPersonalIdAndPhone(PERSONAL_ID, PHONE);

            ViewBag.application = application;
            if (application == null)
            {
                return(View("ApplyForm"));
            }
            else
            {
                TempData["Application"] = application;
                return(View("UpdateForm"));
            }
        }