private static IList <TechnologyGroupItem> GetTechnologies(int currentRow, int nextGroupRowNumber, string column, ExcelWorker worker) { var technologyGroupList = new List <TechnologyGroupItem>(); for (int row = currentRow; row < nextGroupRowNumber; row++) { TechnologyGroupItem item = new TechnologyGroupItem(); item.Technology = worker.GetAValue(row); item.Scale = worker.GetValue(row, column); technologyGroupList.Add(item); } return(technologyGroupList); }
public List <TechnologyGroupItem> GetTechnologyScales() { List <TechnologyGroupItem> items = new List <TechnologyGroupItem>(); foreach (var technicalSkill in TechnicalSkills) { TechnologyGroupItem item = new TechnologyGroupItem() { Technology = technicalSkill.Technology, Scale = string.Empty }; items.Add(item); foreach (var technology in technicalSkill.Technologies) { items.Add(new TechnologyGroupItem() { Scale = technology.Scale, Technology = technology.Technology }); } } return(items); }