Exemplo n.º 1
0
 public void UpdateUserEmail(HelperMethods.ChangeEmailRequestObject emailRequest, Action <string> callback, Action <string> errorCallback)
 {
     StartCoroutine(_networkManager.UpdateUserEmail(emailRequest, callback, errorCallback));
 }
Exemplo n.º 2
0
        public IEnumerator UpdateUserEmail(HelperMethods.ChangeEmailRequestObject emailRequest, Action <string> callback, Action <string> errorCallback)
        {
            string userDataModelJson = "{ \"email\": \"" + emailRequest.email + "\"}";

            yield return(StartCoroutine(UpdateUser(userDataModelJson, callback, errorCallback)));
        }