public void UpdateCustomer(CustomerInfo customer) { try { dataBaseRepository.UpdateCustomer(customer); } catch (Exception ex) { SaveException.Log("webErrors.txt", ex); throw new WebFaultException <string>("Sorry something went wrong when trying to update customer to Database ", HttpStatusCode.InternalServerError); } }
public void UpdateCustomer(CustomerInfo customer) { dataBaseRepository.UpdateCustomer(customer); }