コード例 #1
0
        public ActionResult Create([Bind(Include = "Id,客戶名稱,統一編號,電話,傳真,地址,Email")] 客戶資料 data)
        {
            if (ModelState.IsValid)
            {
                customer.Create(data);
                customer.Commit();

                return(RedirectToAction("Index"));
            }

            return(View(data));
        }