示例#1
0
        public ActionResult AlterSave(int Id, string CustomerName,
                                      string CustomerPwd, string CustomerPostbox, string CustomerTel)
        {
            Book.BLL.T_Base_Customer   bll           = new BLL.T_Base_Customer();
            Book.Model.T_Base_Customer alterCustomer = new Model.T_Base_Customer();
            alterCustomer.Id              = Id;
            alterCustomer.CustomerName    = CustomerName;
            alterCustomer.CustomerPwd     = CustomerPwd;
            alterCustomer.CustomerPostbox = CustomerPostbox;
            alterCustomer.CustomerTel     = CustomerTel;
            bll.AlterSave(alterCustomer);

            return(RedirectToAction("Index"));
        }