public List <ESR> GetAllClassesNames() { List <ESR> li = new List <ESR>(); var All = obj.Events.Where(x => x.Status != 0).ToList(); foreach (var details in All) { ESR temp = new ESR(); temp.Name = details.Name; li.Add(temp); } return(li); }
public List <ESR> GetAllTagsNames() { List <ESR> li = new List <ESR>(); var All = obj.Tags.Where(x => x.status != 0).ToList(); foreach (var details in All) { ESR temp = new ESR(); temp.Name = details.Description; li.Add(temp); } return(li); }
public List <ESR> GetAllCareerNames() { List <ESR> li = new List <ESR>(); var All = obj.Careers.Where(x => x.Status != 0).ToList(); foreach (var details in All) { ESR temp = new ESR(); temp.Name = details.PositionTitle; li.Add(temp); } return(li); }