Exemplo n.º 1
0
        public ActionResult ExportXLSList(QueryContactModel model)
        {
            var contactData = ContactRepo.Query(model);

            return(File(ContactRepo.ExportXLS(contactData), "application/vnd.ms-excel", "客戶聯絡人資料.xls"));
        }