Beispiel #1
0
 public ActionResult EditCustomer(int id, AdminCustomer inCust)
 {
     if (ModelState.IsValid)
     {
         if (_AdminBll.editCustomer(id, inCust))
         {
             return(RedirectToAction("ListCustomer"));
         }
     }
     return(RedirectToAction("Error"));
 }