//private readonly IJobPostingService _jobPostingService = ((IJobPostingService)HttpContext.Current.Application["JobPostingService"]);
 public ActionResult ApplyOnline(string reference)
 {
     JobApplyModel model = new JobApplyModel();
     Job obj = new Job();
     JobInfo info = obj.GetJobInfoByReferenceNo(reference);
     model.JobId = info.JobId;
     model.JobTitle = info.Title;
     model.ReferenceNo = reference;
     model.EssentialCriteriaList = obj.GetEssentialCriteria(info.JobId);
     model.DesirableCriteriaList = obj.GetDesirableCriteria(info.JobId);
     return base.View("JobApply", model);
 }
 public ActionResult JobDescription(string id)
 {
     Job objJob = new Job();
     return base.View("JobDescription", objJob.GetJobInfoByReferenceNo(id));
 }