public void UpdateProfile(HttpRequest.RequestResult profileResult) { ApplicationApi.UpdatePerson(Person, 0, delegate(System.Net.HttpStatusCode statusCode, string statusDescription) { if (Rock.Mobile.Network.Util.StatusInSuccessRange(statusCode) == true) { SaveToDevice( ); } if (profileResult != null) { profileResult(statusCode, statusDescription); } }); }