public void deleteAccount() { Feedback fb = JsonConvert.DeserializeObject <Feedback>(_socketHandler.TestDELETEWebRequest("/profile/" + _userData.userName).ToString()); if (fb.status) { _events.PublishOnUIThread(new appWarningEvent(fb.log_message)); _socketHandler.SignOut(); } else { _events.PublishOnUIThread(new appWarningEvent(fb.log_message)); } }