public void UpdateUser() { Logger.LogNewMessage("Updating user data..", LogType.INFO); try { UserServiceProxy.UpdateUser(User.ID, User.Name, User.LastName); } catch (Exception e) { Logger.LogNewMessage($"Error occured updating user info. Error message {e.Message}", LogType.ERROR); } }