Example #1
0
 public ActionResult Create(Customer customer)
 {
     _service.CreateCustomer(customer);
     return(Index());
 }
Example #2
0
 public ActionResult Create(Customer customer)
 {
     _service.CreateCustomer(customer);
     return(RedirectToAction("Index"));
 }