using NPOI.SS.UserModel; using System; using System.Collections.Generic; using System.Text; namespace Infrastructure.Excel { public interface IParser { IWorkbook ReadExcel(string path); List ParseExcel(IWorkbook workbook) where T : class, new(); string GetSheetName(Type type); } }