示例#1
0
        public List <Person> GetListPersonFormDatabase()
        {
            var personList      = new List <Person>();
            var importExcelFile = new ImportExcelFile(Path);

            personList = importExcelFile.GetPeople();

            return(personList);
        }
示例#2
0
        public bool SaveListPersonToDatabase(List <Person> personList, string savePath)
        {
            var importExcelFile = new ImportExcelFile(savePath);

            return(importExcelFile.SaveAward(personList));
        }