public ActionResult Index() { string excelPath = ConfigurationManager.AppSettings["exceppath"]; IList <SaleOrder> saleorderlist = ExcelImporter.ReadToList <SaleOrder>(excelPath, 2, 1); return(View()); }