예제 #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)));
 }
예제 #2
0
 public ActionResult ViewApplicants(int id)
 {
     return(View(jobApplyActivityRepository.GetAll().FindAll(ar => ar.JobPostId == id)));
 }