public ActionResult DeleteCustomer(int id) { if (_AdminBll.deleteCustomer(id)) { return(RedirectToAction("ListCustomer")); } return(RedirectToAction("Error")); }