Exemple #1
0
                public void UpdateHomeCampus(HttpRequest.RequestResult result)
                {
                    // unlike Profile and Address, it's possible they haven't selected a campus, in which
                    // case we don't want to update it.
                    ApplicationApi.UpdateHomeCampus(PrimaryFamily, 0,
                                                    delegate(System.Net.HttpStatusCode statusCode, string statusDescription)
                    {
                        if (Rock.Mobile.Network.Util.StatusInSuccessRange(statusCode) == true)
                        {
                            SaveToDevice( );
                        }

                        if (result != null)
                        {
                            result(statusCode, statusDescription);
                        }
                    });
                }