Ejemplo n.º 1
0
        public ActionResult ExportXLSXDataList(QueryCompanyModel model)
        {
            var companyData = CompanyRepo.Query(model);

            return(File(CompanyRepo.ExportXLSX(companyData), "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "客戶資料.xlsx"));
        }