public List <JobTitle> GetJobTitles() { List <JobTitle> titles = new List <JobTitle>(); foreach (var data in _basedata.GetBulkData()) { titles.Add(new JobTitle { Title = data.Title, Id = data.Id }); } return(titles); }
public List <JobTitle> GetJobTitles() { List <JobTitle> titles = new List <JobTitle>(); foreach (var data in _basedata.GetBulkData()) { titles.Add(new JobTitle { Title = data.Title, Id = data.Id }); } return(titles); }