Ejemplo n.º 1
0
 public ActionResult ViewDetailsJobApp(int id, jobapplication validjobapp)
 {
     ViewBag.Group = "Admin";
     if (ModelState.IsValid)
     {
         try
         {
             objJob.commitUpdateApp(id, validjobapp.anotes, validjobapp.jobtitle, validjobapp.aname, validjobapp.aphone, validjobapp.aemail, validjobapp.aresume, validjobapp.acoverletter);
             return(RedirectToAction("ShowJobApp"));
         }
         catch
         {
             return(View());
         }
     }
     return(View());
 }
Ejemplo n.º 2
0
 public ActionResult ApplytoJob(jobapplication valid)
 {
     if (ModelState.IsValid)
     {
         try
         {
             objJob.commitInsertApplic(valid);
             return(PartialView("Appliedpartial", valid));
         }
         catch
         {
             return(View());
         }
     }
     else
     {
         return(View());
     }
 }
Ejemplo n.º 3
0
 public ActionResult ApplytoJob(jobapplication valid)
 {
     ViewBag.Group = "JoinOurTeam";
     if (ModelState.IsValid)
     {
         try
         {
             objJob.commitInsertApplic(valid);
             return(View("Applied", valid));
         }
         catch
         {
             return(View());
         }
     }
     else
     {
         return(View());
     }
 }