public bool ChangePassword(ChangePasswordRequest request) { try { return(_manager.ChangePassword(request.Email, request.OldPassword, request.NewPassword)); } catch (Exception ex) { Exception newEx; var rethrow = ExceptionPolicy.HandleException("service.policy", ex, out newEx); return(false); } }
public bool ChangePassword(DataContract.ChangePasswordRequest request) { try { return(_manager.ChangePassword(request.Email, request.OldPassword, request.NewPassword)); } catch (Exception ex) { //Exception newEx; //var rethrow = ExceptionPolicy.HandleException("service.policy", ex, out newEx); //return false; throw ex; } }