public List <Person> GetListPersonFormDatabase() { var personList = new List <Person>(); var importExcelFile = new ImportExcelFile(Path); personList = importExcelFile.GetPeople(); return(personList); }
public bool SaveListPersonToDatabase(List <Person> personList, string savePath) { var importExcelFile = new ImportExcelFile(savePath); return(importExcelFile.SaveAward(personList)); }