Esempio n. 1
0
 public ActionResult AddCandidate(CandidateSignUp_Model cnd)
 {
     if (ModelState.IsValid)
     {
         MyService ObjMyService = new MyService();
         if (ObjMyService.AddCandidate(cnd))
         {
             ViewBag.Message = "Record Save";
             ModelState.Clear();
         }
     }
     return(RedirectToAction("Index"));
 }