public List <Store_emp> Read(string filename) { List <Store_emp> assignSignalsList = new List <Store_emp>(); List <List <string> > listOfData; List <Store_emp> result = new List <Store_emp>(); ReadCSVFile readCSVFile = new ReadCSVFile(); listOfData = readCSVFile.Read(filename); listOfData.RemoveAt(0); listOfData.RemoveAt(0); listOfData.RemoveAt(listOfData.Count - 1); result = Load(listOfData); return(result); }
public List <CompleteJobsEmp> Read(string filename) { var assignSignalsList = new List <CompleteJobsEmp>(); List <List <string> > listOfData; var result = new List <CompleteJobsEmp>(); ReadCSVFile readCSVFile = new ReadCSVFile(); listOfData = readCSVFile.Read(filename); listOfData.RemoveAt(0); listOfData.RemoveAt(0); listOfData.RemoveAt(listOfData.Count - 1); result = Load(listOfData); return(result); }
public List <Not_CompleteJobs_emp> Read(string inputFilename) { //var assignSignalsList = new List<Not_CompleteJobs_emp>(); List <List <string> > listOfData; //var result = new List<Not_CompleteJobs_emp>(); ReadCSVFile readCSVFile = new ReadCSVFile(); listOfData = readCSVFile.Read(inputFilename); listOfData.RemoveAt(0); listOfData.RemoveAt(0); listOfData.RemoveAt(listOfData.Count - 1); assignSignalsList = Load(listOfData); return(assignSignalsList); }