// Parse vacancy data fields private IList <Vacancy> ParseVacanciesCsv(IList <string[]> vacanciesCsv) { var vacancies = new List <Vacancy>(); while (vacanciesCsv.Count > 0) { var vacancyInfo = Vacancy.CreateFromCsv(vacanciesCsv, LastFetchDate); if (vacancyInfo != null) { vacancies.Add(vacancyInfo); } else { break; } } return(vacancies); }