Example #1
0
 public ActionResult ViewJob(int id)
 {
     TempData["Applied"] = false;
     if (jobApplyActivityRepository.GetAll().FindAll(ac => ac.StudentId == (int)Session["id"] && ac.Id == id).ToList().Count != 0)
     {
         TempData["Applied"] = true;
     }
     return(View(jobPostRepository.Get(id)));
 }
Example #2
0
 public ActionResult ViewApplicants(int id)
 {
     return(View(jobApplyActivityRepository.GetAll().FindAll(ar => ar.JobPostId == id)));
 }