public int UpdateUserAccount(UserAccount account) { int actionResult = 0; try { using (AccountGateway accountGateway = new AccountGateway()) { actionResult = accountGateway.UpdateUserAccount(account); } } catch (Exception ex) { } return(actionResult); }