public List <Job> OpeningJobsByRole(string roleName) { JobOpenings obj = new JobOpenings(); return(obj.GetAllJobs().Where(x => x.Role.Equals(roleName)).ToList());; }
public List <Job> OpeningJobs() { JobOpenings obj = new JobOpenings(); return(obj.GetAllJobs()); }