public ActionResult ExportXLSDataList(QueryCompanyModel model) { var companyData = CompanyRepo.Query(model); return(File(CompanyRepo.ExportXLS(companyData), "application/vnd.ms-excel", "客戶資料.xls")); }