public bool UpdateCustomerEmail(int?customerID, string email) { var result = false; try { result = (1 == CustomerAccessor.UpdateCustomerEmail(customerID, email)); } catch (Exception ex) { throw new Exception("An error occurred updating email" + ex.Message); } return(result); }